Skip to content

Commit 0097c86

Browse files
committed
data from tsp
1 parent aa2ba3c commit 0097c86

File tree

6 files changed

+422
-372
lines changed

6 files changed

+422
-372
lines changed

src/healthdataaiservice/azext_healthdataaiservice/aaz/latest/health_data_ai_services/deid_services/job/_cancel.py

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def _build_schema_on_200(cls):
169169
_schema_on_200.error = AAZObjectType(
170170
flags={"read_only": True},
171171
)
172-
_CancelHelper._build_schema_azure_core_foundations_error_read(_schema_on_200.error)
172+
_CancelHelper._build_schema_azure._core._foundations._error_read(_schema_on_200.error)
173173
_schema_on_200.last_updated_at = AAZStrType(
174174
serialized_name="lastUpdatedAt",
175175
flags={"read_only": True},
@@ -250,62 +250,62 @@ def _build_schema_on_200(cls):
250250
class _CancelHelper:
251251
"""Helper class for Cancel"""
252252

253-
_schema_azure_core_foundations_error_read = None
253+
_schema_azure._core._foundations._error_read = None
254254

255255
@classmethod
256-
def _build_schema_azure_core_foundations_error_read(cls, _schema):
257-
if cls._schema_azure_core_foundations_error_read is not None:
258-
_schema.code = cls._schema_azure_core_foundations_error_read.code
259-
_schema.details = cls._schema_azure_core_foundations_error_read.details
260-
_schema.innererror = cls._schema_azure_core_foundations_error_read.innererror
261-
_schema.message = cls._schema_azure_core_foundations_error_read.message
262-
_schema.target = cls._schema_azure_core_foundations_error_read.target
256+
def _build_schema_azure._core._foundations._error_read(cls, _schema):
257+
if cls._schema_azure._core._foundations._error_read is not None:
258+
_schema.code = cls._schema_azure._core._foundations._error_read.code
259+
_schema.details = cls._schema_azure._core._foundations._error_read.details
260+
_schema.innererror = cls._schema_azure._core._foundations._error_read.innererror
261+
_schema.message = cls._schema_azure._core._foundations._error_read.message
262+
_schema.target = cls._schema_azure._core._foundations._error_read.target
263263
return
264264

265-
cls._schema_azure_core_foundations_error_read = _schema_azure_core_foundations_error_read = AAZObjectType(
265+
cls._schema_azure._core._foundations._error_read = _schema_azure._core._foundations._error_read = AAZObjectType(
266266
flags={"read_only": True}
267267
)
268268

269-
azure_core_foundations_error_read = _schema_azure_core_foundations_error_read
270-
azure_core_foundations_error_read.code = AAZStrType(
269+
azure._core._foundations._error_read = _schema_azure._core._foundations._error_read
270+
azure._core._foundations._error_read.code = AAZStrType(
271271
flags={"required": True},
272272
)
273-
azure_core_foundations_error_read.details = AAZListType()
274-
azure_core_foundations_error_read.innererror = AAZObjectType()
275-
cls._build_schema_azure_core_foundations_inner_error_read(azure_core_foundations_error_read.innererror)
276-
azure_core_foundations_error_read.message = AAZStrType(
273+
azure._core._foundations._error_read.details = AAZListType()
274+
azure._core._foundations._error_read.innererror = AAZObjectType()
275+
cls._build_schema_azure._core._foundations._inner_error_read(azure._core._foundations._error_read.innererror)
276+
azure._core._foundations._error_read.message = AAZStrType(
277277
flags={"required": True},
278278
)
279-
azure_core_foundations_error_read.target = AAZStrType()
279+
azure._core._foundations._error_read.target = AAZStrType()
280280

281-
details = _schema_azure_core_foundations_error_read.details
281+
details = _schema_azure._core._foundations._error_read.details
282282
details.Element = AAZObjectType()
283-
cls._build_schema_azure_core_foundations_error_read(details.Element)
283+
cls._build_schema_azure._core._foundations._error_read(details.Element)
284284

285-
_schema.code = cls._schema_azure_core_foundations_error_read.code
286-
_schema.details = cls._schema_azure_core_foundations_error_read.details
287-
_schema.innererror = cls._schema_azure_core_foundations_error_read.innererror
288-
_schema.message = cls._schema_azure_core_foundations_error_read.message
289-
_schema.target = cls._schema_azure_core_foundations_error_read.target
285+
_schema.code = cls._schema_azure._core._foundations._error_read.code
286+
_schema.details = cls._schema_azure._core._foundations._error_read.details
287+
_schema.innererror = cls._schema_azure._core._foundations._error_read.innererror
288+
_schema.message = cls._schema_azure._core._foundations._error_read.message
289+
_schema.target = cls._schema_azure._core._foundations._error_read.target
290290

291-
_schema_azure_core_foundations_inner_error_read = None
291+
_schema_azure._core._foundations._inner_error_read = None
292292

293293
@classmethod
294-
def _build_schema_azure_core_foundations_inner_error_read(cls, _schema):
295-
if cls._schema_azure_core_foundations_inner_error_read is not None:
296-
_schema.code = cls._schema_azure_core_foundations_inner_error_read.code
297-
_schema.innererror = cls._schema_azure_core_foundations_inner_error_read.innererror
294+
def _build_schema_azure._core._foundations._inner_error_read(cls, _schema):
295+
if cls._schema_azure._core._foundations._inner_error_read is not None:
296+
_schema.code = cls._schema_azure._core._foundations._inner_error_read.code
297+
_schema.innererror = cls._schema_azure._core._foundations._inner_error_read.innererror
298298
return
299299

300-
cls._schema_azure_core_foundations_inner_error_read = _schema_azure_core_foundations_inner_error_read = AAZObjectType()
300+
cls._schema_azure._core._foundations._inner_error_read = _schema_azure._core._foundations._inner_error_read = AAZObjectType()
301301

302-
azure_core_foundations_inner_error_read = _schema_azure_core_foundations_inner_error_read
303-
azure_core_foundations_inner_error_read.code = AAZStrType()
304-
azure_core_foundations_inner_error_read.innererror = AAZObjectType()
305-
cls._build_schema_azure_core_foundations_inner_error_read(azure_core_foundations_inner_error_read.innererror)
302+
azure._core._foundations._inner_error_read = _schema_azure._core._foundations._inner_error_read
303+
azure._core._foundations._inner_error_read.code = AAZStrType()
304+
azure._core._foundations._inner_error_read.innererror = AAZObjectType()
305+
cls._build_schema_azure._core._foundations._inner_error_read(azure._core._foundations._inner_error_read.innererror)
306306

307-
_schema.code = cls._schema_azure_core_foundations_inner_error_read.code
308-
_schema.innererror = cls._schema_azure_core_foundations_inner_error_read.innererror
307+
_schema.code = cls._schema_azure._core._foundations._inner_error_read.code
308+
_schema.innererror = cls._schema_azure._core._foundations._inner_error_read.innererror
309309

310310

311311
__all__ = ["Cancel"]

src/healthdataaiservice/azext_healthdataaiservice/aaz/latest/health_data_ai_services/deid_services/job/_create.py

Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -179,16 +179,16 @@ def __call__(self, *args, **kwargs):
179179
return self.client.build_lro_polling(
180180
self.ctx.args.no_wait,
181181
session,
182-
self.on_200_201,
182+
self.on_201_200,
183183
self.on_error,
184184
lro_options={"final-state-via": "original-uri"},
185185
path_format_arguments=self.url_parameters,
186186
)
187-
if session.http_response.status_code in [200, 201]:
187+
if session.http_response.status_code in [201, 200]:
188188
return self.client.build_lro_polling(
189189
self.ctx.args.no_wait,
190190
session,
191-
self.on_200_201,
191+
self.on_201_200,
192192
self.on_error,
193193
lro_options={"final-state-via": "original-uri"},
194194
path_format_arguments=self.url_parameters,
@@ -283,69 +283,69 @@ def content(self):
283283

284284
return self.serialize_content(_content_value)
285285

286-
def on_200_201(self, session):
286+
def on_201_200(self, session):
287287
data = self.deserialize_http_content(session)
288288
self.ctx.set_var(
289289
"instance",
290290
data,
291-
schema_builder=self._build_schema_on_200_201
291+
schema_builder=self._build_schema_on_201_200
292292
)
293293

294-
_schema_on_200_201 = None
294+
_schema_on_201_200 = None
295295

296296
@classmethod
297-
def _build_schema_on_200_201(cls):
298-
if cls._schema_on_200_201 is not None:
299-
return cls._schema_on_200_201
297+
def _build_schema_on_201_200(cls):
298+
if cls._schema_on_201_200 is not None:
299+
return cls._schema_on_201_200
300300

301-
cls._schema_on_200_201 = AAZObjectType()
301+
cls._schema_on_201_200 = AAZObjectType()
302302

303-
_schema_on_200_201 = cls._schema_on_200_201
304-
_schema_on_200_201.created_at = AAZStrType(
303+
_schema_on_201_200 = cls._schema_on_201_200
304+
_schema_on_201_200.created_at = AAZStrType(
305305
serialized_name="createdAt",
306306
flags={"read_only": True},
307307
)
308-
_schema_on_200_201.customizations = AAZObjectType()
309-
_schema_on_200_201.error = AAZObjectType(
308+
_schema_on_201_200.customizations = AAZObjectType()
309+
_schema_on_201_200.error = AAZObjectType(
310310
flags={"read_only": True},
311311
)
312-
_CreateHelper._build_schema_azure_core_foundations_error_read(_schema_on_200_201.error)
313-
_schema_on_200_201.last_updated_at = AAZStrType(
312+
_CreateHelper._build_schema_azure._core._foundations._error_read(_schema_on_201_200.error)
313+
_schema_on_201_200.last_updated_at = AAZStrType(
314314
serialized_name="lastUpdatedAt",
315315
flags={"read_only": True},
316316
)
317-
_schema_on_200_201.name = AAZStrType(
317+
_schema_on_201_200.name = AAZStrType(
318318
flags={"read_only": True},
319319
)
320-
_schema_on_200_201.operation = AAZStrType()
321-
_schema_on_200_201.source_location = AAZObjectType(
320+
_schema_on_201_200.operation = AAZStrType()
321+
_schema_on_201_200.source_location = AAZObjectType(
322322
serialized_name="sourceLocation",
323323
flags={"required": True},
324324
)
325-
_schema_on_200_201.started_at = AAZStrType(
325+
_schema_on_201_200.started_at = AAZStrType(
326326
serialized_name="startedAt",
327327
flags={"read_only": True},
328328
)
329-
_schema_on_200_201.status = AAZStrType(
329+
_schema_on_201_200.status = AAZStrType(
330330
flags={"read_only": True},
331331
)
332-
_schema_on_200_201.summary = AAZObjectType(
332+
_schema_on_201_200.summary = AAZObjectType(
333333
flags={"read_only": True},
334334
)
335-
_schema_on_200_201.target_location = AAZObjectType(
335+
_schema_on_201_200.target_location = AAZObjectType(
336336
serialized_name="targetLocation",
337337
flags={"required": True},
338338
)
339339

340-
customizations = cls._schema_on_200_201.customizations
340+
customizations = cls._schema_on_201_200.customizations
341341
customizations.redaction_format = AAZStrType(
342342
serialized_name="redactionFormat",
343343
)
344344
customizations.surrogate_locale = AAZStrType(
345345
serialized_name="surrogateLocale",
346346
)
347347

348-
source_location = cls._schema_on_200_201.source_location
348+
source_location = cls._schema_on_201_200.source_location
349349
source_location.extensions = AAZListType()
350350
source_location.location = AAZStrType(
351351
flags={"required": True},
@@ -354,10 +354,10 @@ def _build_schema_on_200_201(cls):
354354
flags={"required": True},
355355
)
356356

357-
extensions = cls._schema_on_200_201.source_location.extensions
357+
extensions = cls._schema_on_201_200.source_location.extensions
358358
extensions.Element = AAZStrType()
359359

360-
summary = cls._schema_on_200_201.summary
360+
summary = cls._schema_on_201_200.summary
361361
summary.bytes_processed = AAZIntType(
362362
serialized_name="bytesProcessed",
363363
flags={"required": True},
@@ -375,7 +375,7 @@ def _build_schema_on_200_201(cls):
375375
flags={"required": True},
376376
)
377377

378-
target_location = cls._schema_on_200_201.target_location
378+
target_location = cls._schema_on_201_200.target_location
379379
target_location.location = AAZStrType(
380380
flags={"required": True},
381381
)
@@ -384,68 +384,68 @@ def _build_schema_on_200_201(cls):
384384
flags={"required": True},
385385
)
386386

387-
return cls._schema_on_200_201
387+
return cls._schema_on_201_200
388388

389389

390390
class _CreateHelper:
391391
"""Helper class for Create"""
392392

393-
_schema_azure_core_foundations_error_read = None
393+
_schema_azure._core._foundations._error_read = None
394394

395395
@classmethod
396-
def _build_schema_azure_core_foundations_error_read(cls, _schema):
397-
if cls._schema_azure_core_foundations_error_read is not None:
398-
_schema.code = cls._schema_azure_core_foundations_error_read.code
399-
_schema.details = cls._schema_azure_core_foundations_error_read.details
400-
_schema.innererror = cls._schema_azure_core_foundations_error_read.innererror
401-
_schema.message = cls._schema_azure_core_foundations_error_read.message
402-
_schema.target = cls._schema_azure_core_foundations_error_read.target
396+
def _build_schema_azure._core._foundations._error_read(cls, _schema):
397+
if cls._schema_azure._core._foundations._error_read is not None:
398+
_schema.code = cls._schema_azure._core._foundations._error_read.code
399+
_schema.details = cls._schema_azure._core._foundations._error_read.details
400+
_schema.innererror = cls._schema_azure._core._foundations._error_read.innererror
401+
_schema.message = cls._schema_azure._core._foundations._error_read.message
402+
_schema.target = cls._schema_azure._core._foundations._error_read.target
403403
return
404404

405-
cls._schema_azure_core_foundations_error_read = _schema_azure_core_foundations_error_read = AAZObjectType(
405+
cls._schema_azure._core._foundations._error_read = _schema_azure._core._foundations._error_read = AAZObjectType(
406406
flags={"read_only": True}
407407
)
408408

409-
azure_core_foundations_error_read = _schema_azure_core_foundations_error_read
410-
azure_core_foundations_error_read.code = AAZStrType(
409+
azure._core._foundations._error_read = _schema_azure._core._foundations._error_read
410+
azure._core._foundations._error_read.code = AAZStrType(
411411
flags={"required": True},
412412
)
413-
azure_core_foundations_error_read.details = AAZListType()
414-
azure_core_foundations_error_read.innererror = AAZObjectType()
415-
cls._build_schema_azure_core_foundations_inner_error_read(azure_core_foundations_error_read.innererror)
416-
azure_core_foundations_error_read.message = AAZStrType(
413+
azure._core._foundations._error_read.details = AAZListType()
414+
azure._core._foundations._error_read.innererror = AAZObjectType()
415+
cls._build_schema_azure._core._foundations._inner_error_read(azure._core._foundations._error_read.innererror)
416+
azure._core._foundations._error_read.message = AAZStrType(
417417
flags={"required": True},
418418
)
419-
azure_core_foundations_error_read.target = AAZStrType()
419+
azure._core._foundations._error_read.target = AAZStrType()
420420

421-
details = _schema_azure_core_foundations_error_read.details
421+
details = _schema_azure._core._foundations._error_read.details
422422
details.Element = AAZObjectType()
423-
cls._build_schema_azure_core_foundations_error_read(details.Element)
423+
cls._build_schema_azure._core._foundations._error_read(details.Element)
424424

425-
_schema.code = cls._schema_azure_core_foundations_error_read.code
426-
_schema.details = cls._schema_azure_core_foundations_error_read.details
427-
_schema.innererror = cls._schema_azure_core_foundations_error_read.innererror
428-
_schema.message = cls._schema_azure_core_foundations_error_read.message
429-
_schema.target = cls._schema_azure_core_foundations_error_read.target
425+
_schema.code = cls._schema_azure._core._foundations._error_read.code
426+
_schema.details = cls._schema_azure._core._foundations._error_read.details
427+
_schema.innererror = cls._schema_azure._core._foundations._error_read.innererror
428+
_schema.message = cls._schema_azure._core._foundations._error_read.message
429+
_schema.target = cls._schema_azure._core._foundations._error_read.target
430430

431-
_schema_azure_core_foundations_inner_error_read = None
431+
_schema_azure._core._foundations._inner_error_read = None
432432

433433
@classmethod
434-
def _build_schema_azure_core_foundations_inner_error_read(cls, _schema):
435-
if cls._schema_azure_core_foundations_inner_error_read is not None:
436-
_schema.code = cls._schema_azure_core_foundations_inner_error_read.code
437-
_schema.innererror = cls._schema_azure_core_foundations_inner_error_read.innererror
434+
def _build_schema_azure._core._foundations._inner_error_read(cls, _schema):
435+
if cls._schema_azure._core._foundations._inner_error_read is not None:
436+
_schema.code = cls._schema_azure._core._foundations._inner_error_read.code
437+
_schema.innererror = cls._schema_azure._core._foundations._inner_error_read.innererror
438438
return
439439

440-
cls._schema_azure_core_foundations_inner_error_read = _schema_azure_core_foundations_inner_error_read = AAZObjectType()
440+
cls._schema_azure._core._foundations._inner_error_read = _schema_azure._core._foundations._inner_error_read = AAZObjectType()
441441

442-
azure_core_foundations_inner_error_read = _schema_azure_core_foundations_inner_error_read
443-
azure_core_foundations_inner_error_read.code = AAZStrType()
444-
azure_core_foundations_inner_error_read.innererror = AAZObjectType()
445-
cls._build_schema_azure_core_foundations_inner_error_read(azure_core_foundations_inner_error_read.innererror)
442+
azure._core._foundations._inner_error_read = _schema_azure._core._foundations._inner_error_read
443+
azure._core._foundations._inner_error_read.code = AAZStrType()
444+
azure._core._foundations._inner_error_read.innererror = AAZObjectType()
445+
cls._build_schema_azure._core._foundations._inner_error_read(azure._core._foundations._inner_error_read.innererror)
446446

447-
_schema.code = cls._schema_azure_core_foundations_inner_error_read.code
448-
_schema.innererror = cls._schema_azure_core_foundations_inner_error_read.innererror
447+
_schema.code = cls._schema_azure._core._foundations._inner_error_read.code
448+
_schema.innererror = cls._schema_azure._core._foundations._inner_error_read.innererror
449449

450450

451451
__all__ = ["Create"]

0 commit comments

Comments
 (0)