@@ -33,7 +33,7 @@ public class SyntheticsDevice {
33
33
private Long height ;
34
34
35
35
public static final String JSON_PROPERTY_ID = "id" ;
36
- private SyntheticsDeviceID id ;
36
+ private String id ;
37
37
38
38
public static final String JSON_PROPERTY_IS_MOBILE = "isMobile" ;
39
39
private Boolean isMobile ;
@@ -49,12 +49,11 @@ public SyntheticsDevice() {}
49
49
@ JsonCreator
50
50
public SyntheticsDevice (
51
51
@ JsonProperty (required = true , value = JSON_PROPERTY_HEIGHT ) Long height ,
52
- @ JsonProperty (required = true , value = JSON_PROPERTY_ID ) SyntheticsDeviceID id ,
52
+ @ JsonProperty (required = true , value = JSON_PROPERTY_ID ) String id ,
53
53
@ JsonProperty (required = true , value = JSON_PROPERTY_NAME ) String name ,
54
54
@ JsonProperty (required = true , value = JSON_PROPERTY_WIDTH ) Long width ) {
55
55
this .height = height ;
56
56
this .id = id ;
57
- this .unparsed |= !id .isValid ();
58
57
this .name = name ;
59
58
this .width = width ;
60
59
}
@@ -79,9 +78,8 @@ public void setHeight(Long height) {
79
78
this .height = height ;
80
79
}
81
80
82
- public SyntheticsDevice id (SyntheticsDeviceID id ) {
81
+ public SyntheticsDevice id (String id ) {
83
82
this .id = id ;
84
- this .unparsed |= !id .isValid ();
85
83
return this ;
86
84
}
87
85
@@ -92,14 +90,11 @@ public SyntheticsDevice id(SyntheticsDeviceID id) {
92
90
*/
93
91
@ JsonProperty (JSON_PROPERTY_ID )
94
92
@ JsonInclude (value = JsonInclude .Include .ALWAYS )
95
- public SyntheticsDeviceID getId () {
93
+ public String getId () {
96
94
return id ;
97
95
}
98
96
99
- public void setId (SyntheticsDeviceID id ) {
100
- if (!id .isValid ()) {
101
- this .unparsed = true ;
102
- }
97
+ public void setId (String id ) {
103
98
this .id = id ;
104
99
}
105
100
0 commit comments