summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/render/RenderTestStyleDefinition.java
blob: 6f4aa0b6f07dbd8bc0187e394d36ee44d80d25f2 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package com.mapbox.mapboxsdk.testapp.activity.render;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class RenderTestStyleDefinition {

  private Integer version;
  private Metadata metadata;
  private Map<String, Object> additionalProperties = new HashMap<String, Object>();

  public Integer getVersion() {
    return version;
  }

  public void setVersion(Integer version) {
    this.version = version;
  }

  public Metadata getMetadata() {
    return metadata;
  }

  public void setMetadata(Metadata metadata) {
    this.metadata = metadata;
  }

  public Map<String, Object> getAdditionalProperties() {
    return this.additionalProperties;
  }

  public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
  }

  public class Metadata {

    private Test test;
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();

    public Test getTest() {
      return test;
    }

    public void setTest(Test test) {
      this.test = test;
    }

    public Map<String, Object> getAdditionalProperties() {
      return this.additionalProperties;
    }

    public void setAdditionalProperty(String name, Object value) {
      this.additionalProperties.put(name, value);
    }
  }

  public class Test {

    private Integer width;
    private Integer height;
    private Float pixelRatio;
    private List<Integer> center = null;
    private Integer zoom;
    private Double diff;
    private List<List<String>> operations = null;
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();

    public Integer getWidth() {
      return width;
    }

    public void setWidth(Integer width) {
      this.width = width;
    }

    public Integer getHeight() {
      return height;
    }

    public void setHeight(Integer height) {
      this.height = height;
    }

    public Float getPixelRatio() {
      return pixelRatio;
    }

    public List<Integer> getCenter() {
      return center;
    }

    public void setCenter(List<Integer> center) {
      this.center = center;
    }

    public Integer getZoom() {
      return zoom;
    }

    public void setZoom(Integer zoom) {
      this.zoom = zoom;
    }

    public Double getDiff() {
      return diff;
    }

    public void setDiff(Double diff) {
      this.diff = diff;
    }

    public List<List<String>> getOperations() {
      return operations;
    }

    public void setOperations(List<List<String>> operations) {
      this.operations = operations;
    }

    public Map<String, Object> getAdditionalProperties() {
      return this.additionalProperties;
    }

    public void setAdditionalProperty(String name, Object value) {
      this.additionalProperties.put(name, value);
    }

  }
}