diracx-client 0.0.1a46__py3-none-any.whl → 0.0.1a48__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diracx/client/_generated/aio/operations/_operations.py +255 -112
- diracx/client/_generated/models/__init__.py +16 -8
- diracx/client/_generated/models/_enums.py +3 -0
- diracx/client/_generated/models/_models.py +396 -77
- diracx/client/_generated/operations/_operations.py +265 -143
- diracx/client/patches/jobs/common.py +1 -1
- {diracx_client-0.0.1a46.dist-info → diracx_client-0.0.1a48.dist-info}/METADATA +1 -1
- {diracx_client-0.0.1a46.dist-info → diracx_client-0.0.1a48.dist-info}/RECORD +9 -9
- {diracx_client-0.0.1a46.dist-info → diracx_client-0.0.1a48.dist-info}/WHEEL +0 -0
@@ -94,6 +94,58 @@ class BodyAuthGetOidcTokenGrantType(_serialization.Model):
|
|
94
94
|
"""OAuth2 Grant type."""
|
95
95
|
|
96
96
|
|
97
|
+
class BodyJobsRescheduleJobs(_serialization.Model):
|
98
|
+
"""Body_jobs_reschedule_jobs.
|
99
|
+
|
100
|
+
All required parameters must be populated in order to send to server.
|
101
|
+
|
102
|
+
:ivar job_ids: Job Ids. Required.
|
103
|
+
:vartype job_ids: list[int]
|
104
|
+
"""
|
105
|
+
|
106
|
+
_validation = {
|
107
|
+
"job_ids": {"required": True},
|
108
|
+
}
|
109
|
+
|
110
|
+
_attribute_map = {
|
111
|
+
"job_ids": {"key": "job_ids", "type": "[int]"},
|
112
|
+
}
|
113
|
+
|
114
|
+
def __init__(self, *, job_ids: List[int], **kwargs: Any) -> None:
|
115
|
+
"""
|
116
|
+
:keyword job_ids: Job Ids. Required.
|
117
|
+
:paramtype job_ids: list[int]
|
118
|
+
"""
|
119
|
+
super().__init__(**kwargs)
|
120
|
+
self.job_ids = job_ids
|
121
|
+
|
122
|
+
|
123
|
+
class BodyJobsUnassignBulkJobsSandboxes(_serialization.Model):
|
124
|
+
"""Body_jobs_unassign_bulk_jobs_sandboxes.
|
125
|
+
|
126
|
+
All required parameters must be populated in order to send to server.
|
127
|
+
|
128
|
+
:ivar job_ids: Job Ids. Required.
|
129
|
+
:vartype job_ids: list[int]
|
130
|
+
"""
|
131
|
+
|
132
|
+
_validation = {
|
133
|
+
"job_ids": {"required": True},
|
134
|
+
}
|
135
|
+
|
136
|
+
_attribute_map = {
|
137
|
+
"job_ids": {"key": "job_ids", "type": "[int]"},
|
138
|
+
}
|
139
|
+
|
140
|
+
def __init__(self, *, job_ids: List[int], **kwargs: Any) -> None:
|
141
|
+
"""
|
142
|
+
:keyword job_ids: Job Ids. Required.
|
143
|
+
:paramtype job_ids: list[int]
|
144
|
+
"""
|
145
|
+
super().__init__(**kwargs)
|
146
|
+
self.job_ids = job_ids
|
147
|
+
|
148
|
+
|
97
149
|
class GroupInfo(_serialization.Model):
|
98
150
|
"""GroupInfo.
|
99
151
|
|
@@ -358,54 +410,271 @@ class JobCommand(_serialization.Model):
|
|
358
410
|
self.arguments = arguments
|
359
411
|
|
360
412
|
|
361
|
-
class
|
362
|
-
"""
|
363
|
-
|
364
|
-
:ivar
|
365
|
-
:vartype
|
366
|
-
:ivar
|
367
|
-
:vartype
|
368
|
-
:ivar
|
369
|
-
:vartype
|
370
|
-
:ivar
|
371
|
-
:vartype
|
413
|
+
class JobMetaData(_serialization.Model):
|
414
|
+
"""A model that combines both JobAttributes and JobParameters.
|
415
|
+
|
416
|
+
:ivar timestamp: Timestamp.
|
417
|
+
:vartype timestamp: ~datetime.datetime
|
418
|
+
:ivar cpu_normalization_factor: Cpunormalizationfactor.
|
419
|
+
:vartype cpu_normalization_factor: int
|
420
|
+
:ivar norm_cpu_time_s: Normcputime(S).
|
421
|
+
:vartype norm_cpu_time_s: int
|
422
|
+
:ivar total_cpu_time_s: Totalcputime(S).
|
423
|
+
:vartype total_cpu_time_s: int
|
424
|
+
:ivar host_name: Hostname.
|
425
|
+
:vartype host_name: str
|
426
|
+
:ivar grid_ce: Gridce.
|
427
|
+
:vartype grid_ce: str
|
428
|
+
:ivar model_name: Modelname.
|
429
|
+
:vartype model_name: str
|
430
|
+
:ivar pilot_agent: Pilotagent.
|
431
|
+
:vartype pilot_agent: str
|
432
|
+
:ivar pilot_reference: Pilot Reference.
|
433
|
+
:vartype pilot_reference: str
|
434
|
+
:ivar memory_mb: Memory(Mb).
|
435
|
+
:vartype memory_mb: int
|
436
|
+
:ivar local_account: Localaccount.
|
437
|
+
:vartype local_account: str
|
438
|
+
:ivar payload_pid: Payloadpid.
|
439
|
+
:vartype payload_pid: int
|
440
|
+
:ivar ce_queue: Cequeue.
|
441
|
+
:vartype ce_queue: str
|
442
|
+
:ivar batch_system: Batchsystem.
|
443
|
+
:vartype batch_system: str
|
444
|
+
:ivar job_type: Jobtype.
|
445
|
+
:vartype job_type: str
|
446
|
+
:ivar job_status: Jobstatus.
|
447
|
+
:vartype job_status: str
|
448
|
+
:ivar job_group: Jobgroup.
|
449
|
+
:vartype job_group: str
|
450
|
+
:ivar site: Site.
|
451
|
+
:vartype site: str
|
452
|
+
:ivar job_name: Jobname.
|
453
|
+
:vartype job_name: str
|
454
|
+
:ivar owner: Owner.
|
455
|
+
:vartype owner: str
|
456
|
+
:ivar owner_group: Ownergroup.
|
457
|
+
:vartype owner_group: str
|
458
|
+
:ivar vo: Vo.
|
459
|
+
:vartype vo: str
|
460
|
+
:ivar submission_time: Submissiontime.
|
461
|
+
:vartype submission_time: ~datetime.datetime
|
462
|
+
:ivar reschedule_time: Rescheduletime.
|
463
|
+
:vartype reschedule_time: ~datetime.datetime
|
464
|
+
:ivar last_update_time: Lastupdatetime.
|
465
|
+
:vartype last_update_time: ~datetime.datetime
|
466
|
+
:ivar start_exec_time: Startexectime.
|
467
|
+
:vartype start_exec_time: ~datetime.datetime
|
468
|
+
:ivar heart_beat_time: Heartbeattime.
|
469
|
+
:vartype heart_beat_time: ~datetime.datetime
|
470
|
+
:ivar end_exec_time: Endexectime.
|
471
|
+
:vartype end_exec_time: ~datetime.datetime
|
472
|
+
:ivar status: Status.
|
473
|
+
:vartype status: str
|
474
|
+
:ivar minor_status: Minorstatus.
|
475
|
+
:vartype minor_status: str
|
476
|
+
:ivar application_status: Applicationstatus.
|
477
|
+
:vartype application_status: str
|
478
|
+
:ivar user_priority: Userpriority.
|
479
|
+
:vartype user_priority: int
|
480
|
+
:ivar reschedule_counter: Reschedulecounter.
|
481
|
+
:vartype reschedule_counter: int
|
482
|
+
:ivar verified_flag: Verifiedflag.
|
483
|
+
:vartype verified_flag: bool
|
484
|
+
:ivar accounted_flag: Accountedflag.
|
485
|
+
:vartype accounted_flag: ~_generated.models.JobMetaDataAccountedFlag
|
372
486
|
"""
|
373
487
|
|
374
488
|
_attribute_map = {
|
375
|
-
"
|
376
|
-
"
|
377
|
-
"
|
378
|
-
"
|
489
|
+
"timestamp": {"key": "timestamp", "type": "iso-8601"},
|
490
|
+
"cpu_normalization_factor": {"key": "CPUNormalizationFactor", "type": "int"},
|
491
|
+
"norm_cpu_time_s": {"key": "NormCPUTime(s)", "type": "int"},
|
492
|
+
"total_cpu_time_s": {"key": "TotalCPUTime(s)", "type": "int"},
|
493
|
+
"host_name": {"key": "HostName", "type": "str"},
|
494
|
+
"grid_ce": {"key": "GridCE", "type": "str"},
|
495
|
+
"model_name": {"key": "ModelName", "type": "str"},
|
496
|
+
"pilot_agent": {"key": "PilotAgent", "type": "str"},
|
497
|
+
"pilot_reference": {"key": "Pilot_Reference", "type": "str"},
|
498
|
+
"memory_mb": {"key": "Memory(MB)", "type": "int"},
|
499
|
+
"local_account": {"key": "LocalAccount", "type": "str"},
|
500
|
+
"payload_pid": {"key": "PayloadPID", "type": "int"},
|
501
|
+
"ce_queue": {"key": "CEQueue", "type": "str"},
|
502
|
+
"batch_system": {"key": "BatchSystem", "type": "str"},
|
503
|
+
"job_type": {"key": "JobType", "type": "str"},
|
504
|
+
"job_status": {"key": "JobStatus", "type": "str"},
|
505
|
+
"job_group": {"key": "JobGroup", "type": "str"},
|
506
|
+
"site": {"key": "Site", "type": "str"},
|
507
|
+
"job_name": {"key": "JobName", "type": "str"},
|
508
|
+
"owner": {"key": "Owner", "type": "str"},
|
509
|
+
"owner_group": {"key": "OwnerGroup", "type": "str"},
|
510
|
+
"vo": {"key": "VO", "type": "str"},
|
511
|
+
"submission_time": {"key": "SubmissionTime", "type": "iso-8601"},
|
512
|
+
"reschedule_time": {"key": "RescheduleTime", "type": "iso-8601"},
|
513
|
+
"last_update_time": {"key": "LastUpdateTime", "type": "iso-8601"},
|
514
|
+
"start_exec_time": {"key": "StartExecTime", "type": "iso-8601"},
|
515
|
+
"heart_beat_time": {"key": "HeartBeatTime", "type": "iso-8601"},
|
516
|
+
"end_exec_time": {"key": "EndExecTime", "type": "iso-8601"},
|
517
|
+
"status": {"key": "Status", "type": "str"},
|
518
|
+
"minor_status": {"key": "MinorStatus", "type": "str"},
|
519
|
+
"application_status": {"key": "ApplicationStatus", "type": "str"},
|
520
|
+
"user_priority": {"key": "UserPriority", "type": "int"},
|
521
|
+
"reschedule_counter": {"key": "RescheduleCounter", "type": "int"},
|
522
|
+
"verified_flag": {"key": "VerifiedFlag", "type": "bool"},
|
523
|
+
"accounted_flag": {"key": "AccountedFlag", "type": "JobMetaDataAccountedFlag"},
|
379
524
|
}
|
380
525
|
|
381
|
-
def __init__(
|
526
|
+
def __init__( # pylint: disable=too-many-locals
|
382
527
|
self,
|
383
528
|
*,
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
529
|
+
timestamp: Optional[datetime.datetime] = None,
|
530
|
+
cpu_normalization_factor: Optional[int] = None,
|
531
|
+
norm_cpu_time_s: Optional[int] = None,
|
532
|
+
total_cpu_time_s: Optional[int] = None,
|
533
|
+
host_name: Optional[str] = None,
|
534
|
+
grid_ce: Optional[str] = None,
|
535
|
+
model_name: Optional[str] = None,
|
536
|
+
pilot_agent: Optional[str] = None,
|
537
|
+
pilot_reference: Optional[str] = None,
|
538
|
+
memory_mb: Optional[int] = None,
|
539
|
+
local_account: Optional[str] = None,
|
540
|
+
payload_pid: Optional[int] = None,
|
541
|
+
ce_queue: Optional[str] = None,
|
542
|
+
batch_system: Optional[str] = None,
|
543
|
+
job_type: Optional[str] = None,
|
544
|
+
job_status: Optional[str] = None,
|
545
|
+
job_group: Optional[str] = None,
|
546
|
+
site: Optional[str] = None,
|
547
|
+
job_name: Optional[str] = None,
|
548
|
+
owner: Optional[str] = None,
|
549
|
+
owner_group: Optional[str] = None,
|
550
|
+
vo: Optional[str] = None,
|
551
|
+
submission_time: Optional[datetime.datetime] = None,
|
552
|
+
reschedule_time: Optional[datetime.datetime] = None,
|
553
|
+
last_update_time: Optional[datetime.datetime] = None,
|
554
|
+
start_exec_time: Optional[datetime.datetime] = None,
|
555
|
+
heart_beat_time: Optional[datetime.datetime] = None,
|
556
|
+
end_exec_time: Optional[datetime.datetime] = None,
|
557
|
+
status: Optional[str] = None,
|
558
|
+
minor_status: Optional[str] = None,
|
559
|
+
application_status: Optional[str] = None,
|
560
|
+
user_priority: Optional[int] = None,
|
561
|
+
reschedule_counter: Optional[int] = None,
|
562
|
+
verified_flag: Optional[bool] = None,
|
563
|
+
accounted_flag: Optional["_models.JobMetaDataAccountedFlag"] = None,
|
388
564
|
**kwargs: Any
|
389
565
|
) -> None:
|
390
566
|
"""
|
391
|
-
:keyword
|
392
|
-
:paramtype
|
393
|
-
:keyword
|
394
|
-
:paramtype
|
395
|
-
:keyword
|
396
|
-
:paramtype
|
397
|
-
:keyword
|
398
|
-
:paramtype
|
567
|
+
:keyword timestamp: Timestamp.
|
568
|
+
:paramtype timestamp: ~datetime.datetime
|
569
|
+
:keyword cpu_normalization_factor: Cpunormalizationfactor.
|
570
|
+
:paramtype cpu_normalization_factor: int
|
571
|
+
:keyword norm_cpu_time_s: Normcputime(S).
|
572
|
+
:paramtype norm_cpu_time_s: int
|
573
|
+
:keyword total_cpu_time_s: Totalcputime(S).
|
574
|
+
:paramtype total_cpu_time_s: int
|
575
|
+
:keyword host_name: Hostname.
|
576
|
+
:paramtype host_name: str
|
577
|
+
:keyword grid_ce: Gridce.
|
578
|
+
:paramtype grid_ce: str
|
579
|
+
:keyword model_name: Modelname.
|
580
|
+
:paramtype model_name: str
|
581
|
+
:keyword pilot_agent: Pilotagent.
|
582
|
+
:paramtype pilot_agent: str
|
583
|
+
:keyword pilot_reference: Pilot Reference.
|
584
|
+
:paramtype pilot_reference: str
|
585
|
+
:keyword memory_mb: Memory(Mb).
|
586
|
+
:paramtype memory_mb: int
|
587
|
+
:keyword local_account: Localaccount.
|
588
|
+
:paramtype local_account: str
|
589
|
+
:keyword payload_pid: Payloadpid.
|
590
|
+
:paramtype payload_pid: int
|
591
|
+
:keyword ce_queue: Cequeue.
|
592
|
+
:paramtype ce_queue: str
|
593
|
+
:keyword batch_system: Batchsystem.
|
594
|
+
:paramtype batch_system: str
|
595
|
+
:keyword job_type: Jobtype.
|
596
|
+
:paramtype job_type: str
|
597
|
+
:keyword job_status: Jobstatus.
|
598
|
+
:paramtype job_status: str
|
599
|
+
:keyword job_group: Jobgroup.
|
600
|
+
:paramtype job_group: str
|
601
|
+
:keyword site: Site.
|
602
|
+
:paramtype site: str
|
603
|
+
:keyword job_name: Jobname.
|
604
|
+
:paramtype job_name: str
|
605
|
+
:keyword owner: Owner.
|
606
|
+
:paramtype owner: str
|
607
|
+
:keyword owner_group: Ownergroup.
|
608
|
+
:paramtype owner_group: str
|
609
|
+
:keyword vo: Vo.
|
610
|
+
:paramtype vo: str
|
611
|
+
:keyword submission_time: Submissiontime.
|
612
|
+
:paramtype submission_time: ~datetime.datetime
|
613
|
+
:keyword reschedule_time: Rescheduletime.
|
614
|
+
:paramtype reschedule_time: ~datetime.datetime
|
615
|
+
:keyword last_update_time: Lastupdatetime.
|
616
|
+
:paramtype last_update_time: ~datetime.datetime
|
617
|
+
:keyword start_exec_time: Startexectime.
|
618
|
+
:paramtype start_exec_time: ~datetime.datetime
|
619
|
+
:keyword heart_beat_time: Heartbeattime.
|
620
|
+
:paramtype heart_beat_time: ~datetime.datetime
|
621
|
+
:keyword end_exec_time: Endexectime.
|
622
|
+
:paramtype end_exec_time: ~datetime.datetime
|
623
|
+
:keyword status: Status.
|
624
|
+
:paramtype status: str
|
625
|
+
:keyword minor_status: Minorstatus.
|
626
|
+
:paramtype minor_status: str
|
627
|
+
:keyword application_status: Applicationstatus.
|
628
|
+
:paramtype application_status: str
|
629
|
+
:keyword user_priority: Userpriority.
|
630
|
+
:paramtype user_priority: int
|
631
|
+
:keyword reschedule_counter: Reschedulecounter.
|
632
|
+
:paramtype reschedule_counter: int
|
633
|
+
:keyword verified_flag: Verifiedflag.
|
634
|
+
:paramtype verified_flag: bool
|
635
|
+
:keyword accounted_flag: Accountedflag.
|
636
|
+
:paramtype accounted_flag: ~_generated.models.JobMetaDataAccountedFlag
|
399
637
|
"""
|
400
638
|
super().__init__(**kwargs)
|
401
|
-
self.
|
402
|
-
self.
|
403
|
-
self.
|
404
|
-
self.
|
639
|
+
self.timestamp = timestamp
|
640
|
+
self.cpu_normalization_factor = cpu_normalization_factor
|
641
|
+
self.norm_cpu_time_s = norm_cpu_time_s
|
642
|
+
self.total_cpu_time_s = total_cpu_time_s
|
643
|
+
self.host_name = host_name
|
644
|
+
self.grid_ce = grid_ce
|
645
|
+
self.model_name = model_name
|
646
|
+
self.pilot_agent = pilot_agent
|
647
|
+
self.pilot_reference = pilot_reference
|
648
|
+
self.memory_mb = memory_mb
|
649
|
+
self.local_account = local_account
|
650
|
+
self.payload_pid = payload_pid
|
651
|
+
self.ce_queue = ce_queue
|
652
|
+
self.batch_system = batch_system
|
653
|
+
self.job_type = job_type
|
654
|
+
self.job_status = job_status
|
655
|
+
self.job_group = job_group
|
656
|
+
self.site = site
|
657
|
+
self.job_name = job_name
|
658
|
+
self.owner = owner
|
659
|
+
self.owner_group = owner_group
|
660
|
+
self.vo = vo
|
661
|
+
self.submission_time = submission_time
|
662
|
+
self.reschedule_time = reschedule_time
|
663
|
+
self.last_update_time = last_update_time
|
664
|
+
self.start_exec_time = start_exec_time
|
665
|
+
self.heart_beat_time = heart_beat_time
|
666
|
+
self.end_exec_time = end_exec_time
|
667
|
+
self.status = status
|
668
|
+
self.minor_status = minor_status
|
669
|
+
self.application_status = application_status
|
670
|
+
self.user_priority = user_priority
|
671
|
+
self.reschedule_counter = reschedule_counter
|
672
|
+
self.verified_flag = verified_flag
|
673
|
+
self.accounted_flag = accounted_flag
|
405
674
|
|
406
675
|
|
407
|
-
class
|
408
|
-
"""
|
676
|
+
class JobMetaDataAccountedFlag(_serialization.Model):
|
677
|
+
"""Accountedflag."""
|
409
678
|
|
410
679
|
|
411
680
|
class JobStatusUpdate(_serialization.Model):
|
@@ -458,44 +727,6 @@ class JobStatusUpdate(_serialization.Model):
|
|
458
727
|
self.source = source
|
459
728
|
|
460
729
|
|
461
|
-
class JobSummaryParams(_serialization.Model):
|
462
|
-
"""JobSummaryParams.
|
463
|
-
|
464
|
-
All required parameters must be populated in order to send to server.
|
465
|
-
|
466
|
-
:ivar grouping: Grouping. Required.
|
467
|
-
:vartype grouping: list[str]
|
468
|
-
:ivar search: Search.
|
469
|
-
:vartype search: list[~_generated.models.JobSummaryParamsSearchItem]
|
470
|
-
"""
|
471
|
-
|
472
|
-
_validation = {
|
473
|
-
"grouping": {"required": True},
|
474
|
-
}
|
475
|
-
|
476
|
-
_attribute_map = {
|
477
|
-
"grouping": {"key": "grouping", "type": "[str]"},
|
478
|
-
"search": {"key": "search", "type": "[JobSummaryParamsSearchItem]"},
|
479
|
-
}
|
480
|
-
|
481
|
-
def __init__(
|
482
|
-
self, *, grouping: List[str], search: List["_models.JobSummaryParamsSearchItem"] = [], **kwargs: Any
|
483
|
-
) -> None:
|
484
|
-
"""
|
485
|
-
:keyword grouping: Grouping. Required.
|
486
|
-
:paramtype grouping: list[str]
|
487
|
-
:keyword search: Search.
|
488
|
-
:paramtype search: list[~_generated.models.JobSummaryParamsSearchItem]
|
489
|
-
"""
|
490
|
-
super().__init__(**kwargs)
|
491
|
-
self.grouping = grouping
|
492
|
-
self.search = search
|
493
|
-
|
494
|
-
|
495
|
-
class JobSummaryParamsSearchItem(_serialization.Model):
|
496
|
-
"""JobSummaryParamsSearchItem."""
|
497
|
-
|
498
|
-
|
499
730
|
class Metadata(_serialization.Model):
|
500
731
|
"""Metadata.
|
501
732
|
|
@@ -699,7 +930,7 @@ class SandboxInfo(_serialization.Model):
|
|
699
930
|
:vartype checksum: str
|
700
931
|
:ivar size: Size. Required.
|
701
932
|
:vartype size: int
|
702
|
-
:ivar format: SandboxFormat. Required. "tar.bz2"
|
933
|
+
:ivar format: SandboxFormat. Required. Known values are: "tar.bz2" and "tar.zst".
|
703
934
|
:vartype format: str or ~_generated.models.SandboxFormat
|
704
935
|
"""
|
705
936
|
|
@@ -733,7 +964,7 @@ class SandboxInfo(_serialization.Model):
|
|
733
964
|
:paramtype checksum: str
|
734
965
|
:keyword size: Size. Required.
|
735
966
|
:paramtype size: int
|
736
|
-
:keyword format: SandboxFormat. Required. "tar.bz2"
|
967
|
+
:keyword format: SandboxFormat. Required. Known values are: "tar.bz2" and "tar.zst".
|
737
968
|
:paramtype format: str or ~_generated.models.SandboxFormat
|
738
969
|
"""
|
739
970
|
super().__init__(**kwargs)
|
@@ -790,8 +1021,8 @@ class ScalarSearchSpec(_serialization.Model):
|
|
790
1021
|
|
791
1022
|
:ivar parameter: Parameter. Required.
|
792
1023
|
:vartype parameter: str
|
793
|
-
:ivar operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt",
|
794
|
-
"like".
|
1024
|
+
:ivar operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt",
|
1025
|
+
"like", "not like", and "regex".
|
795
1026
|
:vartype operator: str or ~_generated.models.ScalarSearchOperator
|
796
1027
|
:ivar value: Value. Required.
|
797
1028
|
:vartype value: ~_generated.models.ScalarSearchSpecValue
|
@@ -821,7 +1052,7 @@ class ScalarSearchSpec(_serialization.Model):
|
|
821
1052
|
:keyword parameter: Parameter. Required.
|
822
1053
|
:paramtype parameter: str
|
823
1054
|
:keyword operator: ScalarSearchOperator. Required. Known values are: "eq", "neq", "gt", "lt",
|
824
|
-
|
1055
|
+
"like", "not like", and "regex".
|
825
1056
|
:paramtype operator: str or ~_generated.models.ScalarSearchOperator
|
826
1057
|
:keyword value: Value. Required.
|
827
1058
|
:paramtype value: ~_generated.models.ScalarSearchSpecValue
|
@@ -836,6 +1067,56 @@ class ScalarSearchSpecValue(_serialization.Model):
|
|
836
1067
|
"""Value."""
|
837
1068
|
|
838
1069
|
|
1070
|
+
class SearchParams(_serialization.Model):
|
1071
|
+
"""SearchParams.
|
1072
|
+
|
1073
|
+
:ivar parameters: Parameters.
|
1074
|
+
:vartype parameters: list[str]
|
1075
|
+
:ivar search: Search.
|
1076
|
+
:vartype search: list[~_generated.models.SearchParamsSearchItem]
|
1077
|
+
:ivar sort: Sort.
|
1078
|
+
:vartype sort: list[~_generated.models.SortSpec]
|
1079
|
+
:ivar distinct: Distinct.
|
1080
|
+
:vartype distinct: bool
|
1081
|
+
"""
|
1082
|
+
|
1083
|
+
_attribute_map = {
|
1084
|
+
"parameters": {"key": "parameters", "type": "[str]"},
|
1085
|
+
"search": {"key": "search", "type": "[SearchParamsSearchItem]"},
|
1086
|
+
"sort": {"key": "sort", "type": "[SortSpec]"},
|
1087
|
+
"distinct": {"key": "distinct", "type": "bool"},
|
1088
|
+
}
|
1089
|
+
|
1090
|
+
def __init__(
|
1091
|
+
self,
|
1092
|
+
*,
|
1093
|
+
parameters: Optional[List[str]] = None,
|
1094
|
+
search: List["_models.SearchParamsSearchItem"] = [],
|
1095
|
+
sort: List["_models.SortSpec"] = [],
|
1096
|
+
distinct: bool = False,
|
1097
|
+
**kwargs: Any
|
1098
|
+
) -> None:
|
1099
|
+
"""
|
1100
|
+
:keyword parameters: Parameters.
|
1101
|
+
:paramtype parameters: list[str]
|
1102
|
+
:keyword search: Search.
|
1103
|
+
:paramtype search: list[~_generated.models.SearchParamsSearchItem]
|
1104
|
+
:keyword sort: Sort.
|
1105
|
+
:paramtype sort: list[~_generated.models.SortSpec]
|
1106
|
+
:keyword distinct: Distinct.
|
1107
|
+
:paramtype distinct: bool
|
1108
|
+
"""
|
1109
|
+
super().__init__(**kwargs)
|
1110
|
+
self.parameters = parameters
|
1111
|
+
self.search = search
|
1112
|
+
self.sort = sort
|
1113
|
+
self.distinct = distinct
|
1114
|
+
|
1115
|
+
|
1116
|
+
class SearchParamsSearchItem(_serialization.Model):
|
1117
|
+
"""SearchParamsSearchItem."""
|
1118
|
+
|
1119
|
+
|
839
1120
|
class SetJobStatusReturn(_serialization.Model):
|
840
1121
|
"""SetJobStatusReturn.
|
841
1122
|
|
@@ -979,6 +1260,44 @@ class SortSpec(_serialization.Model):
|
|
979
1260
|
self.direction = direction
|
980
1261
|
|
981
1262
|
|
1263
|
+
class SummaryParams(_serialization.Model):
|
1264
|
+
"""SummaryParams.
|
1265
|
+
|
1266
|
+
All required parameters must be populated in order to send to server.
|
1267
|
+
|
1268
|
+
:ivar grouping: Grouping. Required.
|
1269
|
+
:vartype grouping: list[str]
|
1270
|
+
:ivar search: Search.
|
1271
|
+
:vartype search: list[~_generated.models.SummaryParamsSearchItem]
|
1272
|
+
"""
|
1273
|
+
|
1274
|
+
_validation = {
|
1275
|
+
"grouping": {"required": True},
|
1276
|
+
}
|
1277
|
+
|
1278
|
+
_attribute_map = {
|
1279
|
+
"grouping": {"key": "grouping", "type": "[str]"},
|
1280
|
+
"search": {"key": "search", "type": "[SummaryParamsSearchItem]"},
|
1281
|
+
}
|
1282
|
+
|
1283
|
+
def __init__(
|
1284
|
+
self, *, grouping: List[str], search: List["_models.SummaryParamsSearchItem"] = [], **kwargs: Any
|
1285
|
+
) -> None:
|
1286
|
+
"""
|
1287
|
+
:keyword grouping: Grouping. Required.
|
1288
|
+
:paramtype grouping: list[str]
|
1289
|
+
:keyword search: Search.
|
1290
|
+
:paramtype search: list[~_generated.models.SummaryParamsSearchItem]
|
1291
|
+
"""
|
1292
|
+
super().__init__(**kwargs)
|
1293
|
+
self.grouping = grouping
|
1294
|
+
self.search = search
|
1295
|
+
|
1296
|
+
|
1297
|
+
class SummaryParamsSearchItem(_serialization.Model):
|
1298
|
+
"""SummaryParamsSearchItem."""
|
1299
|
+
|
1300
|
+
|
982
1301
|
class SupportInfo(_serialization.Model):
|
983
1302
|
"""SupportInfo.
|
984
1303
|
|