30
30
@ SuppressWarnings ("javadoc" )
31
31
public final class Command extends com .google .api .client .json .GenericJson {
32
32
33
+ /**
34
+ * Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is
35
+ * set, then it is suggested that type should not be set. In this case, the server automatically
36
+ * sets it to ADD_ESIM. It is also acceptable to explicitly set type to ADD_ESIM.
37
+ * The value may be {@code null}.
38
+ */
39
+ @ com .google .api .client .util .Key
40
+ private AddEsimParams addEsimParams ;
41
+
33
42
/**
34
43
* Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device.
35
44
* See ClearAppsDataParams. If this is set, then it is suggested that type should not be set. In
@@ -76,6 +85,13 @@ public final class Command extends com.google.api.client.json.GenericJson {
76
85
@ com .google .api .client .util .Key
77
86
private java .lang .String errorCode ;
78
87
88
+ /**
89
+ * Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
90
+ * The value may be {@code null}.
91
+ */
92
+ @ com .google .api .client .util .Key
93
+ private EsimCommandStatus esimStatus ;
94
+
79
95
/**
80
96
* For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new
81
97
* password must be at least 6 characters long if it is numeric in case of Android 14 devices.
@@ -85,6 +101,16 @@ public final class Command extends com.google.api.client.json.GenericJson {
85
101
@ com .google .api .client .util .Key
86
102
private java .lang .String newPassword ;
87
103
104
+ /**
105
+ * Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile from the device. If
106
+ * this is set, then it is suggested that type should not be set. In this case, the server
107
+ * automatically sets it to REMOVE_ESIM. It is also acceptable to explicitly set type to
108
+ * REMOVE_ESIM.
109
+ * The value may be {@code null}.
110
+ */
111
+ @ com .google .api .client .util .Key
112
+ private RemoveEsimParams removeEsimParams ;
113
+
88
114
/**
89
115
* Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
90
116
* this is set, then it is suggested that type should not be set. In this case, the server
@@ -161,6 +187,27 @@ public final class Command extends com.google.api.client.json.GenericJson {
161
187
@ com .google .api .client .util .Key
162
188
private java .lang .String userName ;
163
189
190
+ /**
191
+ * Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is
192
+ * set, then it is suggested that type should not be set. In this case, the server automatically
193
+ * sets it to ADD_ESIM. It is also acceptable to explicitly set type to ADD_ESIM.
194
+ * @return value or {@code null} for none
195
+ */
196
+ public AddEsimParams getAddEsimParams () {
197
+ return addEsimParams ;
198
+ }
199
+
200
+ /**
201
+ * Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the device. If this is
202
+ * set, then it is suggested that type should not be set. In this case, the server automatically
203
+ * sets it to ADD_ESIM. It is also acceptable to explicitly set type to ADD_ESIM.
204
+ * @param addEsimParams addEsimParams or {@code null} for none
205
+ */
206
+ public Command setAddEsimParams (AddEsimParams addEsimParams ) {
207
+ this .addEsimParams = addEsimParams ;
208
+ return this ;
209
+ }
210
+
164
211
/**
165
212
* Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device.
166
213
* See ClearAppsDataParams. If this is set, then it is suggested that type should not be set. In
@@ -268,6 +315,23 @@ public Command setErrorCode(java.lang.String errorCode) {
268
315
return this ;
269
316
}
270
317
318
+ /**
319
+ * Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
320
+ * @return value or {@code null} for none
321
+ */
322
+ public EsimCommandStatus getEsimStatus () {
323
+ return esimStatus ;
324
+ }
325
+
326
+ /**
327
+ * Output only. Status of an ADD_ESIM or REMOVE_ESIM command.
328
+ * @param esimStatus esimStatus or {@code null} for none
329
+ */
330
+ public Command setEsimStatus (EsimCommandStatus esimStatus ) {
331
+ this .esimStatus = esimStatus ;
332
+ return this ;
333
+ }
334
+
271
335
/**
272
336
* For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new
273
337
* password must be at least 6 characters long if it is numeric in case of Android 14 devices.
@@ -289,6 +353,29 @@ public Command setNewPassword(java.lang.String newPassword) {
289
353
return this ;
290
354
}
291
355
356
+ /**
357
+ * Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile from the device. If
358
+ * this is set, then it is suggested that type should not be set. In this case, the server
359
+ * automatically sets it to REMOVE_ESIM. It is also acceptable to explicitly set type to
360
+ * REMOVE_ESIM.
361
+ * @return value or {@code null} for none
362
+ */
363
+ public RemoveEsimParams getRemoveEsimParams () {
364
+ return removeEsimParams ;
365
+ }
366
+
367
+ /**
368
+ * Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile from the device. If
369
+ * this is set, then it is suggested that type should not be set. In this case, the server
370
+ * automatically sets it to REMOVE_ESIM. It is also acceptable to explicitly set type to
371
+ * REMOVE_ESIM.
372
+ * @param removeEsimParams removeEsimParams or {@code null} for none
373
+ */
374
+ public Command setRemoveEsimParams (RemoveEsimParams removeEsimParams ) {
375
+ this .removeEsimParams = removeEsimParams ;
376
+ return this ;
377
+ }
378
+
292
379
/**
293
380
* Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
294
381
* this is set, then it is suggested that type should not be set. In this case, the server
0 commit comments