3030@ SuppressWarnings ("javadoc" )
3131public final class Command extends com .google .api .client .json .GenericJson {
3232
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+
3342 /**
3443 * Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device.
3544 * 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 {
7685 @ com .google .api .client .util .Key
7786 private java .lang .String errorCode ;
7887
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+
7995 /**
8096 * For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new
8197 * 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 {
85101 @ com .google .api .client .util .Key
86102 private java .lang .String newPassword ;
87103
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+
88114 /**
89115 * Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
90116 * 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 {
161187 @ com .google .api .client .util .Key
162188 private java .lang .String userName ;
163189
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+
164211 /**
165212 * Parameters for the CLEAR_APP_DATA command to clear the data of specified apps from the device.
166213 * 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) {
268315 return this ;
269316 }
270317
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+
271335 /**
272336 * For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new
273337 * 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) {
289353 return this ;
290354 }
291355
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+
292379 /**
293380 * Optional. Parameters for the REQUEST_DEVICE_INFO command to get device related information. If
294381 * this is set, then it is suggested that type should not be set. In this case, the server
0 commit comments