summaryrefslogtreecommitdiff
path: root/src/traffic-incidents-service/org.genivi.trafficincidentsservice.dbuswrapper/src/main/java/org/genivi/trafficincidentsservice/trafficincidents/dbus/TemporarySpeedLimitStruct.java
blob: 8b9cb38cd14e22ef39d84cde74f417a0829ec101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
 * Copyright (C) 2014 TomTom International B.V.
 * 
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.genivi.trafficincidentsservice.trafficincidents.dbus;

import java.util.List;

import org.freedesktop.dbus.Position;
import org.freedesktop.dbus.Struct;

public class TemporarySpeedLimitStruct extends Struct {
  @Position(0)
  public final Boolean unitsMPH;

  @Position(1)
  public final Integer offset;

  @Position(2)
  public final List<TemporarySpeedLimitSectionStruct> temporarySpeedLimitSections;

  @Position(3)
  public final List<ApplicabilityStruct> applicability;


  public TemporarySpeedLimitStruct(Boolean unitsMPH, Integer offset,
      List<TemporarySpeedLimitSectionStruct> temporarySpeedLimitSections,
      List<ApplicabilityStruct> applicability) {
    super();
    this.unitsMPH = unitsMPH;
    this.offset = offset;
    this.temporarySpeedLimitSections = temporarySpeedLimitSections;
    this.applicability = applicability;
  }
}