ignos-api-client 2023.5.22.5244__py3-none-any.whl → 2023.7.7.5556__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.
- ignos/api/client/_client.py +16 -0
- ignos/api/client/_version.py +1 -1
- ignos/api/client/aio/_client.py +16 -0
- ignos/api/client/aio/operations/__init__.py +8 -0
- ignos/api/client/aio/operations/_operations.py +2346 -891
- ignos/api/client/models/__init__.py +70 -0
- ignos/api/client/models/_enums.py +108 -0
- ignos/api/client/models/_models.py +2182 -194
- ignos/api/client/operations/__init__.py +8 -0
- ignos/api/client/operations/_operations.py +2156 -434
- {ignos_api_client-2023.5.22.5244.dist-info → ignos_api_client-2023.7.7.5556.dist-info}/METADATA +2 -2
- ignos_api_client-2023.7.7.5556.dist-info/RECORD +27 -0
- ignos_api_client-2023.5.22.5244.dist-info/RECORD +0 -27
- {ignos_api_client-2023.5.22.5244.dist-info → ignos_api_client-2023.7.7.5556.dist-info}/WHEEL +0 -0
- {ignos_api_client-2023.5.22.5244.dist-info → ignos_api_client-2023.7.7.5556.dist-info}/top_level.txt +0 -0
|
@@ -551,6 +551,32 @@ class AttachCalibrationCertificateRequest(_serialization.Model):
|
|
|
551
551
|
self.filename = filename
|
|
552
552
|
|
|
553
553
|
|
|
554
|
+
class AttachPdfRequest(_serialization.Model):
|
|
555
|
+
"""AttachPdfRequest.
|
|
556
|
+
|
|
557
|
+
:ivar upload_key:
|
|
558
|
+
:vartype upload_key: str
|
|
559
|
+
:ivar filename:
|
|
560
|
+
:vartype filename: str
|
|
561
|
+
"""
|
|
562
|
+
|
|
563
|
+
_attribute_map = {
|
|
564
|
+
"upload_key": {"key": "uploadKey", "type": "str"},
|
|
565
|
+
"filename": {"key": "filename", "type": "str"},
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
def __init__(self, *, upload_key: Optional[str] = None, filename: Optional[str] = None, **kwargs: Any) -> None:
|
|
569
|
+
"""
|
|
570
|
+
:keyword upload_key:
|
|
571
|
+
:paramtype upload_key: str
|
|
572
|
+
:keyword filename:
|
|
573
|
+
:paramtype filename: str
|
|
574
|
+
"""
|
|
575
|
+
super().__init__(**kwargs)
|
|
576
|
+
self.upload_key = upload_key
|
|
577
|
+
self.filename = filename
|
|
578
|
+
|
|
579
|
+
|
|
554
580
|
class AzureRegionDto(_serialization.Model):
|
|
555
581
|
"""AzureRegionDto.
|
|
556
582
|
|
|
@@ -3235,6 +3261,203 @@ class CreateCustomerOrderLineGhgReport(_serialization.Model):
|
|
|
3235
3261
|
self.nodes = nodes
|
|
3236
3262
|
|
|
3237
3263
|
|
|
3264
|
+
class CreateDocumentType(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
3265
|
+
"""CreateDocumentType.
|
|
3266
|
+
|
|
3267
|
+
All required parameters must be populated in order to send to Azure.
|
|
3268
|
+
|
|
3269
|
+
:ivar id: Required.
|
|
3270
|
+
:vartype id: str
|
|
3271
|
+
:ivar name: Required.
|
|
3272
|
+
:vartype name: str
|
|
3273
|
+
:ivar title:
|
|
3274
|
+
:vartype title: str
|
|
3275
|
+
:ivar desciption:
|
|
3276
|
+
:vartype desciption: str
|
|
3277
|
+
:ivar active: Required.
|
|
3278
|
+
:vartype active: bool
|
|
3279
|
+
:ivar number_key: Required. Known values are: "Multiple" and "SingleDocument".
|
|
3280
|
+
:vartype number_key: str or ~ignos.api.client.models.DocumentNumberKey
|
|
3281
|
+
:ivar document_number_pattern: Required.
|
|
3282
|
+
:vartype document_number_pattern: str
|
|
3283
|
+
:ivar workflow_type: Required. Known values are: "None", "CustomerProvided",
|
|
3284
|
+
"CustomerApproval", and "InternalWithFix".
|
|
3285
|
+
:vartype workflow_type: str or ~ignos.api.client.models.DocumentWorkflowType
|
|
3286
|
+
:ivar file_type:
|
|
3287
|
+
:vartype file_type: str
|
|
3288
|
+
:ivar is_internal_document_type: Required.
|
|
3289
|
+
:vartype is_internal_document_type: bool
|
|
3290
|
+
:ivar is_generated_document_type: Required.
|
|
3291
|
+
:vartype is_generated_document_type: bool
|
|
3292
|
+
:ivar require_portable_file: Required.
|
|
3293
|
+
:vartype require_portable_file: bool
|
|
3294
|
+
:ivar category: Required. Known values are: "General", "Procedure", "Drawing", "Report", and
|
|
3295
|
+
"Certificate".
|
|
3296
|
+
:vartype category: str or ~ignos.api.client.models.DocumentTypeCategory
|
|
3297
|
+
:ivar can_assign_document_number: Required.
|
|
3298
|
+
:vartype can_assign_document_number: bool
|
|
3299
|
+
:ivar import_tag:
|
|
3300
|
+
:vartype import_tag: str
|
|
3301
|
+
:ivar document_requirement_strategy: Required. Known values are: "None", "WorkOrder", "Lot",
|
|
3302
|
+
"Drawing", and "CustomerOrderLine".
|
|
3303
|
+
:vartype document_requirement_strategy: str or
|
|
3304
|
+
~ignos.api.client.models.DocumentRequirementStrategy
|
|
3305
|
+
:ivar can_link_document: Required.
|
|
3306
|
+
:vartype can_link_document: bool
|
|
3307
|
+
:ivar require_dc_approval: Required.
|
|
3308
|
+
:vartype require_dc_approval: bool
|
|
3309
|
+
:ivar search_option: Required. Known values are: "IncludeApproved", "IncludeDraft", and
|
|
3310
|
+
"Exclude".
|
|
3311
|
+
:vartype search_option: str or ~ignos.api.client.models.DocumentTypeSearchOption
|
|
3312
|
+
:ivar can_have_certificate: Required.
|
|
3313
|
+
:vartype can_have_certificate: bool
|
|
3314
|
+
:ivar sub_types: Required.
|
|
3315
|
+
:vartype sub_types: list[~ignos.api.client.models.DocumentSubTypeDto]
|
|
3316
|
+
"""
|
|
3317
|
+
|
|
3318
|
+
_validation = {
|
|
3319
|
+
"id": {"required": True, "min_length": 1},
|
|
3320
|
+
"name": {"required": True, "min_length": 1},
|
|
3321
|
+
"active": {"required": True},
|
|
3322
|
+
"number_key": {"required": True},
|
|
3323
|
+
"document_number_pattern": {"required": True, "min_length": 1},
|
|
3324
|
+
"workflow_type": {"required": True},
|
|
3325
|
+
"is_internal_document_type": {"required": True},
|
|
3326
|
+
"is_generated_document_type": {"required": True},
|
|
3327
|
+
"require_portable_file": {"required": True},
|
|
3328
|
+
"category": {"required": True},
|
|
3329
|
+
"can_assign_document_number": {"required": True},
|
|
3330
|
+
"document_requirement_strategy": {"required": True},
|
|
3331
|
+
"can_link_document": {"required": True},
|
|
3332
|
+
"require_dc_approval": {"required": True},
|
|
3333
|
+
"search_option": {"required": True},
|
|
3334
|
+
"can_have_certificate": {"required": True},
|
|
3335
|
+
"sub_types": {"required": True},
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
_attribute_map = {
|
|
3339
|
+
"id": {"key": "id", "type": "str"},
|
|
3340
|
+
"name": {"key": "name", "type": "str"},
|
|
3341
|
+
"title": {"key": "title", "type": "str"},
|
|
3342
|
+
"desciption": {"key": "desciption", "type": "str"},
|
|
3343
|
+
"active": {"key": "active", "type": "bool"},
|
|
3344
|
+
"number_key": {"key": "numberKey", "type": "str"},
|
|
3345
|
+
"document_number_pattern": {"key": "documentNumberPattern", "type": "str"},
|
|
3346
|
+
"workflow_type": {"key": "workflowType", "type": "str"},
|
|
3347
|
+
"file_type": {"key": "fileType", "type": "str"},
|
|
3348
|
+
"is_internal_document_type": {"key": "isInternalDocumentType", "type": "bool"},
|
|
3349
|
+
"is_generated_document_type": {"key": "isGeneratedDocumentType", "type": "bool"},
|
|
3350
|
+
"require_portable_file": {"key": "requirePortableFile", "type": "bool"},
|
|
3351
|
+
"category": {"key": "category", "type": "str"},
|
|
3352
|
+
"can_assign_document_number": {"key": "canAssignDocumentNumber", "type": "bool"},
|
|
3353
|
+
"import_tag": {"key": "importTag", "type": "str"},
|
|
3354
|
+
"document_requirement_strategy": {"key": "documentRequirementStrategy", "type": "str"},
|
|
3355
|
+
"can_link_document": {"key": "canLinkDocument", "type": "bool"},
|
|
3356
|
+
"require_dc_approval": {"key": "requireDCApproval", "type": "bool"},
|
|
3357
|
+
"search_option": {"key": "searchOption", "type": "str"},
|
|
3358
|
+
"can_have_certificate": {"key": "canHaveCertificate", "type": "bool"},
|
|
3359
|
+
"sub_types": {"key": "subTypes", "type": "[DocumentSubTypeDto]"},
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
def __init__(
|
|
3363
|
+
self,
|
|
3364
|
+
*,
|
|
3365
|
+
id: str, # pylint: disable=redefined-builtin
|
|
3366
|
+
name: str,
|
|
3367
|
+
active: bool,
|
|
3368
|
+
number_key: Union[str, "_models.DocumentNumberKey"],
|
|
3369
|
+
document_number_pattern: str,
|
|
3370
|
+
workflow_type: Union[str, "_models.DocumentWorkflowType"],
|
|
3371
|
+
is_internal_document_type: bool,
|
|
3372
|
+
is_generated_document_type: bool,
|
|
3373
|
+
require_portable_file: bool,
|
|
3374
|
+
category: Union[str, "_models.DocumentTypeCategory"],
|
|
3375
|
+
can_assign_document_number: bool,
|
|
3376
|
+
document_requirement_strategy: Union[str, "_models.DocumentRequirementStrategy"],
|
|
3377
|
+
can_link_document: bool,
|
|
3378
|
+
require_dc_approval: bool,
|
|
3379
|
+
search_option: Union[str, "_models.DocumentTypeSearchOption"],
|
|
3380
|
+
can_have_certificate: bool,
|
|
3381
|
+
sub_types: List["_models.DocumentSubTypeDto"],
|
|
3382
|
+
title: Optional[str] = None,
|
|
3383
|
+
desciption: Optional[str] = None,
|
|
3384
|
+
file_type: Optional[str] = None,
|
|
3385
|
+
import_tag: Optional[str] = None,
|
|
3386
|
+
**kwargs: Any
|
|
3387
|
+
) -> None:
|
|
3388
|
+
"""
|
|
3389
|
+
:keyword id: Required.
|
|
3390
|
+
:paramtype id: str
|
|
3391
|
+
:keyword name: Required.
|
|
3392
|
+
:paramtype name: str
|
|
3393
|
+
:keyword title:
|
|
3394
|
+
:paramtype title: str
|
|
3395
|
+
:keyword desciption:
|
|
3396
|
+
:paramtype desciption: str
|
|
3397
|
+
:keyword active: Required.
|
|
3398
|
+
:paramtype active: bool
|
|
3399
|
+
:keyword number_key: Required. Known values are: "Multiple" and "SingleDocument".
|
|
3400
|
+
:paramtype number_key: str or ~ignos.api.client.models.DocumentNumberKey
|
|
3401
|
+
:keyword document_number_pattern: Required.
|
|
3402
|
+
:paramtype document_number_pattern: str
|
|
3403
|
+
:keyword workflow_type: Required. Known values are: "None", "CustomerProvided",
|
|
3404
|
+
"CustomerApproval", and "InternalWithFix".
|
|
3405
|
+
:paramtype workflow_type: str or ~ignos.api.client.models.DocumentWorkflowType
|
|
3406
|
+
:keyword file_type:
|
|
3407
|
+
:paramtype file_type: str
|
|
3408
|
+
:keyword is_internal_document_type: Required.
|
|
3409
|
+
:paramtype is_internal_document_type: bool
|
|
3410
|
+
:keyword is_generated_document_type: Required.
|
|
3411
|
+
:paramtype is_generated_document_type: bool
|
|
3412
|
+
:keyword require_portable_file: Required.
|
|
3413
|
+
:paramtype require_portable_file: bool
|
|
3414
|
+
:keyword category: Required. Known values are: "General", "Procedure", "Drawing", "Report", and
|
|
3415
|
+
"Certificate".
|
|
3416
|
+
:paramtype category: str or ~ignos.api.client.models.DocumentTypeCategory
|
|
3417
|
+
:keyword can_assign_document_number: Required.
|
|
3418
|
+
:paramtype can_assign_document_number: bool
|
|
3419
|
+
:keyword import_tag:
|
|
3420
|
+
:paramtype import_tag: str
|
|
3421
|
+
:keyword document_requirement_strategy: Required. Known values are: "None", "WorkOrder", "Lot",
|
|
3422
|
+
"Drawing", and "CustomerOrderLine".
|
|
3423
|
+
:paramtype document_requirement_strategy: str or
|
|
3424
|
+
~ignos.api.client.models.DocumentRequirementStrategy
|
|
3425
|
+
:keyword can_link_document: Required.
|
|
3426
|
+
:paramtype can_link_document: bool
|
|
3427
|
+
:keyword require_dc_approval: Required.
|
|
3428
|
+
:paramtype require_dc_approval: bool
|
|
3429
|
+
:keyword search_option: Required. Known values are: "IncludeApproved", "IncludeDraft", and
|
|
3430
|
+
"Exclude".
|
|
3431
|
+
:paramtype search_option: str or ~ignos.api.client.models.DocumentTypeSearchOption
|
|
3432
|
+
:keyword can_have_certificate: Required.
|
|
3433
|
+
:paramtype can_have_certificate: bool
|
|
3434
|
+
:keyword sub_types: Required.
|
|
3435
|
+
:paramtype sub_types: list[~ignos.api.client.models.DocumentSubTypeDto]
|
|
3436
|
+
"""
|
|
3437
|
+
super().__init__(**kwargs)
|
|
3438
|
+
self.id = id
|
|
3439
|
+
self.name = name
|
|
3440
|
+
self.title = title
|
|
3441
|
+
self.desciption = desciption
|
|
3442
|
+
self.active = active
|
|
3443
|
+
self.number_key = number_key
|
|
3444
|
+
self.document_number_pattern = document_number_pattern
|
|
3445
|
+
self.workflow_type = workflow_type
|
|
3446
|
+
self.file_type = file_type
|
|
3447
|
+
self.is_internal_document_type = is_internal_document_type
|
|
3448
|
+
self.is_generated_document_type = is_generated_document_type
|
|
3449
|
+
self.require_portable_file = require_portable_file
|
|
3450
|
+
self.category = category
|
|
3451
|
+
self.can_assign_document_number = can_assign_document_number
|
|
3452
|
+
self.import_tag = import_tag
|
|
3453
|
+
self.document_requirement_strategy = document_requirement_strategy
|
|
3454
|
+
self.can_link_document = can_link_document
|
|
3455
|
+
self.require_dc_approval = require_dc_approval
|
|
3456
|
+
self.search_option = search_option
|
|
3457
|
+
self.can_have_certificate = can_have_certificate
|
|
3458
|
+
self.sub_types = sub_types
|
|
3459
|
+
|
|
3460
|
+
|
|
3238
3461
|
class CreateElectricalIotConfig(_serialization.Model):
|
|
3239
3462
|
"""CreateElectricalIotConfig.
|
|
3240
3463
|
|
|
@@ -3941,6 +4164,73 @@ class CreateMeasuringUnit(_serialization.Model):
|
|
|
3941
4164
|
self.unit = unit
|
|
3942
4165
|
|
|
3943
4166
|
|
|
4167
|
+
class CreateMrbTemplateRequest(_serialization.Model):
|
|
4168
|
+
"""CreateMrbTemplateRequest.
|
|
4169
|
+
|
|
4170
|
+
:ivar title:
|
|
4171
|
+
:vartype title: str
|
|
4172
|
+
:ivar customer_id:
|
|
4173
|
+
:vartype customer_id: str
|
|
4174
|
+
:ivar customer_group_id:
|
|
4175
|
+
:vartype customer_group_id: str
|
|
4176
|
+
:ivar customer_name:
|
|
4177
|
+
:vartype customer_name: str
|
|
4178
|
+
:ivar elements:
|
|
4179
|
+
:vartype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
4180
|
+
:ivar pdf_upload_key:
|
|
4181
|
+
:vartype pdf_upload_key: str
|
|
4182
|
+
:ivar pdf_filename:
|
|
4183
|
+
:vartype pdf_filename: str
|
|
4184
|
+
"""
|
|
4185
|
+
|
|
4186
|
+
_attribute_map = {
|
|
4187
|
+
"title": {"key": "title", "type": "str"},
|
|
4188
|
+
"customer_id": {"key": "customerId", "type": "str"},
|
|
4189
|
+
"customer_group_id": {"key": "customerGroupId", "type": "str"},
|
|
4190
|
+
"customer_name": {"key": "customerName", "type": "str"},
|
|
4191
|
+
"elements": {"key": "elements", "type": "[MrbTemplateElementDto]"},
|
|
4192
|
+
"pdf_upload_key": {"key": "pdfUploadKey", "type": "str"},
|
|
4193
|
+
"pdf_filename": {"key": "pdfFilename", "type": "str"},
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4196
|
+
def __init__(
|
|
4197
|
+
self,
|
|
4198
|
+
*,
|
|
4199
|
+
title: Optional[str] = None,
|
|
4200
|
+
customer_id: Optional[str] = None,
|
|
4201
|
+
customer_group_id: Optional[str] = None,
|
|
4202
|
+
customer_name: Optional[str] = None,
|
|
4203
|
+
elements: Optional[List["_models.MrbTemplateElementDto"]] = None,
|
|
4204
|
+
pdf_upload_key: Optional[str] = None,
|
|
4205
|
+
pdf_filename: Optional[str] = None,
|
|
4206
|
+
**kwargs: Any
|
|
4207
|
+
) -> None:
|
|
4208
|
+
"""
|
|
4209
|
+
:keyword title:
|
|
4210
|
+
:paramtype title: str
|
|
4211
|
+
:keyword customer_id:
|
|
4212
|
+
:paramtype customer_id: str
|
|
4213
|
+
:keyword customer_group_id:
|
|
4214
|
+
:paramtype customer_group_id: str
|
|
4215
|
+
:keyword customer_name:
|
|
4216
|
+
:paramtype customer_name: str
|
|
4217
|
+
:keyword elements:
|
|
4218
|
+
:paramtype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
4219
|
+
:keyword pdf_upload_key:
|
|
4220
|
+
:paramtype pdf_upload_key: str
|
|
4221
|
+
:keyword pdf_filename:
|
|
4222
|
+
:paramtype pdf_filename: str
|
|
4223
|
+
"""
|
|
4224
|
+
super().__init__(**kwargs)
|
|
4225
|
+
self.title = title
|
|
4226
|
+
self.customer_id = customer_id
|
|
4227
|
+
self.customer_group_id = customer_group_id
|
|
4228
|
+
self.customer_name = customer_name
|
|
4229
|
+
self.elements = elements
|
|
4230
|
+
self.pdf_upload_key = pdf_upload_key
|
|
4231
|
+
self.pdf_filename = pdf_filename
|
|
4232
|
+
|
|
4233
|
+
|
|
3944
4234
|
class CreateSchemaElement(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
3945
4235
|
"""CreateSchemaElement.
|
|
3946
4236
|
|
|
@@ -4587,6 +4877,26 @@ class DataHealthDto(_serialization.Model):
|
|
|
4587
4877
|
self.machines = machines
|
|
4588
4878
|
|
|
4589
4879
|
|
|
4880
|
+
class DeleteMrbTemplateRequest(_serialization.Model):
|
|
4881
|
+
"""DeleteMrbTemplateRequest.
|
|
4882
|
+
|
|
4883
|
+
:ivar id:
|
|
4884
|
+
:vartype id: str
|
|
4885
|
+
"""
|
|
4886
|
+
|
|
4887
|
+
_attribute_map = {
|
|
4888
|
+
"id": {"key": "id", "type": "str"},
|
|
4889
|
+
}
|
|
4890
|
+
|
|
4891
|
+
def __init__(self, *, id: Optional[str] = None, **kwargs: Any) -> None: # pylint: disable=redefined-builtin
|
|
4892
|
+
"""
|
|
4893
|
+
:keyword id:
|
|
4894
|
+
:paramtype id: str
|
|
4895
|
+
"""
|
|
4896
|
+
super().__init__(**kwargs)
|
|
4897
|
+
self.id = id
|
|
4898
|
+
|
|
4899
|
+
|
|
4590
4900
|
class DeletePartDrawingRequest(_serialization.Model):
|
|
4591
4901
|
"""DeletePartDrawingRequest.
|
|
4592
4902
|
|
|
@@ -4633,132 +4943,416 @@ class DeprecateToolRequest(_serialization.Model):
|
|
|
4633
4943
|
self.date = date
|
|
4634
4944
|
|
|
4635
4945
|
|
|
4636
|
-
class
|
|
4637
|
-
"""
|
|
4946
|
+
class DocumentRevisionApprovalDto(_serialization.Model):
|
|
4947
|
+
"""DocumentRevisionApprovalDto.
|
|
4638
4948
|
|
|
4639
4949
|
All required parameters must be populated in order to send to Azure.
|
|
4640
4950
|
|
|
4641
|
-
:ivar
|
|
4642
|
-
:vartype
|
|
4643
|
-
:ivar
|
|
4644
|
-
:vartype
|
|
4951
|
+
:ivar user: Required.
|
|
4952
|
+
:vartype user: ~ignos.api.client.models.UserDto
|
|
4953
|
+
:ivar approval_date: Required.
|
|
4954
|
+
:vartype approval_date: ~datetime.datetime
|
|
4645
4955
|
"""
|
|
4646
4956
|
|
|
4647
4957
|
_validation = {
|
|
4648
|
-
"
|
|
4649
|
-
"
|
|
4958
|
+
"user": {"required": True},
|
|
4959
|
+
"approval_date": {"required": True},
|
|
4650
4960
|
}
|
|
4651
4961
|
|
|
4652
4962
|
_attribute_map = {
|
|
4653
|
-
"
|
|
4654
|
-
"
|
|
4963
|
+
"user": {"key": "user", "type": "UserDto"},
|
|
4964
|
+
"approval_date": {"key": "approvalDate", "type": "iso-8601"},
|
|
4655
4965
|
}
|
|
4656
4966
|
|
|
4657
|
-
def __init__(self, *,
|
|
4967
|
+
def __init__(self, *, user: "_models.UserDto", approval_date: datetime.datetime, **kwargs: Any) -> None:
|
|
4658
4968
|
"""
|
|
4659
|
-
:keyword
|
|
4660
|
-
:paramtype
|
|
4661
|
-
:keyword
|
|
4662
|
-
:paramtype
|
|
4969
|
+
:keyword user: Required.
|
|
4970
|
+
:paramtype user: ~ignos.api.client.models.UserDto
|
|
4971
|
+
:keyword approval_date: Required.
|
|
4972
|
+
:paramtype approval_date: ~datetime.datetime
|
|
4663
4973
|
"""
|
|
4664
4974
|
super().__init__(**kwargs)
|
|
4665
|
-
self.
|
|
4666
|
-
self.
|
|
4975
|
+
self.user = user
|
|
4976
|
+
self.approval_date = approval_date
|
|
4667
4977
|
|
|
4668
4978
|
|
|
4669
|
-
class
|
|
4670
|
-
"""
|
|
4671
|
-
|
|
4672
|
-
All required parameters must be populated in order to send to Azure.
|
|
4979
|
+
class DocumentSubTypeDto(_serialization.Model):
|
|
4980
|
+
"""DocumentSubTypeDto.
|
|
4673
4981
|
|
|
4674
|
-
:ivar
|
|
4675
|
-
:vartype
|
|
4676
|
-
:ivar
|
|
4677
|
-
:vartype
|
|
4678
|
-
:ivar
|
|
4679
|
-
:vartype
|
|
4680
|
-
:ivar asset_id: Required.
|
|
4681
|
-
:vartype asset_id: int
|
|
4682
|
-
:ivar asset_external_id:
|
|
4683
|
-
:vartype asset_external_id: str
|
|
4684
|
-
:ivar phases:
|
|
4685
|
-
:vartype phases: int
|
|
4686
|
-
:ivar electrical_asset_id:
|
|
4687
|
-
:vartype electrical_asset_id: int
|
|
4688
|
-
:ivar electrical_asset_external_id:
|
|
4689
|
-
:vartype electrical_asset_external_id: str
|
|
4690
|
-
:ivar electrical_timeseries_id:
|
|
4691
|
-
:vartype electrical_timeseries_id: int
|
|
4692
|
-
:ivar electrical_timeseries_external_id:
|
|
4693
|
-
:vartype electrical_timeseries_external_id: str
|
|
4982
|
+
:ivar name:
|
|
4983
|
+
:vartype name: str
|
|
4984
|
+
:ivar description:
|
|
4985
|
+
:vartype description: str
|
|
4986
|
+
:ivar active:
|
|
4987
|
+
:vartype active: bool
|
|
4694
4988
|
"""
|
|
4695
4989
|
|
|
4696
|
-
_validation = {
|
|
4697
|
-
"id": {"required": True, "min_length": 1},
|
|
4698
|
-
"type_id": {"required": True, "min_length": 1},
|
|
4699
|
-
"asset_id": {"required": True},
|
|
4700
|
-
}
|
|
4701
|
-
|
|
4702
4990
|
_attribute_map = {
|
|
4703
|
-
"
|
|
4704
|
-
"
|
|
4705
|
-
"
|
|
4706
|
-
"asset_id": {"key": "assetId", "type": "int"},
|
|
4707
|
-
"asset_external_id": {"key": "assetExternalId", "type": "str"},
|
|
4708
|
-
"phases": {"key": "phases", "type": "int"},
|
|
4709
|
-
"electrical_asset_id": {"key": "electricalAssetId", "type": "int"},
|
|
4710
|
-
"electrical_asset_external_id": {"key": "electricalAssetExternalId", "type": "str"},
|
|
4711
|
-
"electrical_timeseries_id": {"key": "electricalTimeseriesId", "type": "int"},
|
|
4712
|
-
"electrical_timeseries_external_id": {"key": "electricalTimeseriesExternalId", "type": "str"},
|
|
4991
|
+
"name": {"key": "name", "type": "str"},
|
|
4992
|
+
"description": {"key": "description", "type": "str"},
|
|
4993
|
+
"active": {"key": "active", "type": "bool"},
|
|
4713
4994
|
}
|
|
4714
4995
|
|
|
4715
4996
|
def __init__(
|
|
4716
4997
|
self,
|
|
4717
4998
|
*,
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
serial_number: Optional[str] = None,
|
|
4722
|
-
asset_external_id: Optional[str] = None,
|
|
4723
|
-
phases: Optional[int] = None,
|
|
4724
|
-
electrical_asset_id: Optional[int] = None,
|
|
4725
|
-
electrical_asset_external_id: Optional[str] = None,
|
|
4726
|
-
electrical_timeseries_id: Optional[int] = None,
|
|
4727
|
-
electrical_timeseries_external_id: Optional[str] = None,
|
|
4999
|
+
name: Optional[str] = None,
|
|
5000
|
+
description: Optional[str] = None,
|
|
5001
|
+
active: Optional[bool] = None,
|
|
4728
5002
|
**kwargs: Any
|
|
4729
5003
|
) -> None:
|
|
4730
5004
|
"""
|
|
4731
|
-
:keyword
|
|
4732
|
-
:paramtype
|
|
4733
|
-
:keyword
|
|
4734
|
-
:paramtype
|
|
4735
|
-
:keyword
|
|
4736
|
-
:paramtype
|
|
4737
|
-
:keyword asset_id: Required.
|
|
4738
|
-
:paramtype asset_id: int
|
|
4739
|
-
:keyword asset_external_id:
|
|
4740
|
-
:paramtype asset_external_id: str
|
|
4741
|
-
:keyword phases:
|
|
4742
|
-
:paramtype phases: int
|
|
4743
|
-
:keyword electrical_asset_id:
|
|
4744
|
-
:paramtype electrical_asset_id: int
|
|
4745
|
-
:keyword electrical_asset_external_id:
|
|
4746
|
-
:paramtype electrical_asset_external_id: str
|
|
4747
|
-
:keyword electrical_timeseries_id:
|
|
4748
|
-
:paramtype electrical_timeseries_id: int
|
|
4749
|
-
:keyword electrical_timeseries_external_id:
|
|
4750
|
-
:paramtype electrical_timeseries_external_id: str
|
|
5005
|
+
:keyword name:
|
|
5006
|
+
:paramtype name: str
|
|
5007
|
+
:keyword description:
|
|
5008
|
+
:paramtype description: str
|
|
5009
|
+
:keyword active:
|
|
5010
|
+
:paramtype active: bool
|
|
4751
5011
|
"""
|
|
4752
5012
|
super().__init__(**kwargs)
|
|
4753
|
-
self.
|
|
4754
|
-
self.
|
|
4755
|
-
self.
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
5013
|
+
self.name = name
|
|
5014
|
+
self.description = description
|
|
5015
|
+
self.active = active
|
|
5016
|
+
|
|
5017
|
+
|
|
5018
|
+
class DocumentTagDto(_serialization.Model):
|
|
5019
|
+
"""DocumentTagDto.
|
|
5020
|
+
|
|
5021
|
+
:ivar key:
|
|
5022
|
+
:vartype key: str
|
|
5023
|
+
:ivar value:
|
|
5024
|
+
:vartype value: str
|
|
5025
|
+
"""
|
|
5026
|
+
|
|
5027
|
+
_attribute_map = {
|
|
5028
|
+
"key": {"key": "key", "type": "str"},
|
|
5029
|
+
"value": {"key": "value", "type": "str"},
|
|
5030
|
+
}
|
|
5031
|
+
|
|
5032
|
+
def __init__(self, *, key: Optional[str] = None, value: Optional[str] = None, **kwargs: Any) -> None:
|
|
5033
|
+
"""
|
|
5034
|
+
:keyword key:
|
|
5035
|
+
:paramtype key: str
|
|
5036
|
+
:keyword value:
|
|
5037
|
+
:paramtype value: str
|
|
5038
|
+
"""
|
|
5039
|
+
super().__init__(**kwargs)
|
|
5040
|
+
self.key = key
|
|
5041
|
+
self.value = value
|
|
5042
|
+
|
|
5043
|
+
|
|
5044
|
+
class DocumentTypeDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
5045
|
+
"""DocumentTypeDto.
|
|
5046
|
+
|
|
5047
|
+
All required parameters must be populated in order to send to Azure.
|
|
5048
|
+
|
|
5049
|
+
:ivar id:
|
|
5050
|
+
:vartype id: str
|
|
5051
|
+
:ivar name:
|
|
5052
|
+
:vartype name: str
|
|
5053
|
+
:ivar title:
|
|
5054
|
+
:vartype title: str
|
|
5055
|
+
:ivar desciption:
|
|
5056
|
+
:vartype desciption: str
|
|
5057
|
+
:ivar active:
|
|
5058
|
+
:vartype active: bool
|
|
5059
|
+
:ivar number_key: Known values are: "Multiple" and "SingleDocument".
|
|
5060
|
+
:vartype number_key: str or ~ignos.api.client.models.DocumentNumberKey
|
|
5061
|
+
:ivar document_number_pattern:
|
|
5062
|
+
:vartype document_number_pattern: str
|
|
5063
|
+
:ivar workflow_type: Known values are: "None", "CustomerProvided", "CustomerApproval", and
|
|
5064
|
+
"InternalWithFix".
|
|
5065
|
+
:vartype workflow_type: str or ~ignos.api.client.models.DocumentWorkflowType
|
|
5066
|
+
:ivar file_type:
|
|
5067
|
+
:vartype file_type: str
|
|
5068
|
+
:ivar is_internal_document_type:
|
|
5069
|
+
:vartype is_internal_document_type: bool
|
|
5070
|
+
:ivar is_generated_document_type:
|
|
5071
|
+
:vartype is_generated_document_type: bool
|
|
5072
|
+
:ivar require_portable_file:
|
|
5073
|
+
:vartype require_portable_file: bool
|
|
5074
|
+
:ivar category: Known values are: "General", "Procedure", "Drawing", "Report", and
|
|
5075
|
+
"Certificate".
|
|
5076
|
+
:vartype category: str or ~ignos.api.client.models.DocumentTypeCategory
|
|
5077
|
+
:ivar can_assign_document_number:
|
|
5078
|
+
:vartype can_assign_document_number: bool
|
|
5079
|
+
:ivar import_tag:
|
|
5080
|
+
:vartype import_tag: str
|
|
5081
|
+
:ivar document_requirement_strategy: Known values are: "None", "WorkOrder", "Lot", "Drawing",
|
|
5082
|
+
and "CustomerOrderLine".
|
|
5083
|
+
:vartype document_requirement_strategy: str or
|
|
5084
|
+
~ignos.api.client.models.DocumentRequirementStrategy
|
|
5085
|
+
:ivar can_link_document:
|
|
5086
|
+
:vartype can_link_document: bool
|
|
5087
|
+
:ivar require_dc_approval:
|
|
5088
|
+
:vartype require_dc_approval: bool
|
|
5089
|
+
:ivar search_option: Known values are: "IncludeApproved", "IncludeDraft", and "Exclude".
|
|
5090
|
+
:vartype search_option: str or ~ignos.api.client.models.DocumentTypeSearchOption
|
|
5091
|
+
:ivar can_have_certificate:
|
|
5092
|
+
:vartype can_have_certificate: bool
|
|
5093
|
+
:ivar used:
|
|
5094
|
+
:vartype used: bool
|
|
5095
|
+
:ivar sub_types: Required.
|
|
5096
|
+
:vartype sub_types: list[~ignos.api.client.models.DocumentSubTypeDto]
|
|
5097
|
+
"""
|
|
5098
|
+
|
|
5099
|
+
_validation = {
|
|
5100
|
+
"sub_types": {"required": True},
|
|
5101
|
+
}
|
|
5102
|
+
|
|
5103
|
+
_attribute_map = {
|
|
5104
|
+
"id": {"key": "id", "type": "str"},
|
|
5105
|
+
"name": {"key": "name", "type": "str"},
|
|
5106
|
+
"title": {"key": "title", "type": "str"},
|
|
5107
|
+
"desciption": {"key": "desciption", "type": "str"},
|
|
5108
|
+
"active": {"key": "active", "type": "bool"},
|
|
5109
|
+
"number_key": {"key": "numberKey", "type": "str"},
|
|
5110
|
+
"document_number_pattern": {"key": "documentNumberPattern", "type": "str"},
|
|
5111
|
+
"workflow_type": {"key": "workflowType", "type": "str"},
|
|
5112
|
+
"file_type": {"key": "fileType", "type": "str"},
|
|
5113
|
+
"is_internal_document_type": {"key": "isInternalDocumentType", "type": "bool"},
|
|
5114
|
+
"is_generated_document_type": {"key": "isGeneratedDocumentType", "type": "bool"},
|
|
5115
|
+
"require_portable_file": {"key": "requirePortableFile", "type": "bool"},
|
|
5116
|
+
"category": {"key": "category", "type": "str"},
|
|
5117
|
+
"can_assign_document_number": {"key": "canAssignDocumentNumber", "type": "bool"},
|
|
5118
|
+
"import_tag": {"key": "importTag", "type": "str"},
|
|
5119
|
+
"document_requirement_strategy": {"key": "documentRequirementStrategy", "type": "str"},
|
|
5120
|
+
"can_link_document": {"key": "canLinkDocument", "type": "bool"},
|
|
5121
|
+
"require_dc_approval": {"key": "requireDCApproval", "type": "bool"},
|
|
5122
|
+
"search_option": {"key": "searchOption", "type": "str"},
|
|
5123
|
+
"can_have_certificate": {"key": "canHaveCertificate", "type": "bool"},
|
|
5124
|
+
"used": {"key": "used", "type": "bool"},
|
|
5125
|
+
"sub_types": {"key": "subTypes", "type": "[DocumentSubTypeDto]"},
|
|
5126
|
+
}
|
|
5127
|
+
|
|
5128
|
+
def __init__(
|
|
5129
|
+
self,
|
|
5130
|
+
*,
|
|
5131
|
+
sub_types: List["_models.DocumentSubTypeDto"],
|
|
5132
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
5133
|
+
name: Optional[str] = None,
|
|
5134
|
+
title: Optional[str] = None,
|
|
5135
|
+
desciption: Optional[str] = None,
|
|
5136
|
+
active: Optional[bool] = None,
|
|
5137
|
+
number_key: Optional[Union[str, "_models.DocumentNumberKey"]] = None,
|
|
5138
|
+
document_number_pattern: Optional[str] = None,
|
|
5139
|
+
workflow_type: Optional[Union[str, "_models.DocumentWorkflowType"]] = None,
|
|
5140
|
+
file_type: Optional[str] = None,
|
|
5141
|
+
is_internal_document_type: Optional[bool] = None,
|
|
5142
|
+
is_generated_document_type: Optional[bool] = None,
|
|
5143
|
+
require_portable_file: Optional[bool] = None,
|
|
5144
|
+
category: Optional[Union[str, "_models.DocumentTypeCategory"]] = None,
|
|
5145
|
+
can_assign_document_number: Optional[bool] = None,
|
|
5146
|
+
import_tag: Optional[str] = None,
|
|
5147
|
+
document_requirement_strategy: Optional[Union[str, "_models.DocumentRequirementStrategy"]] = None,
|
|
5148
|
+
can_link_document: Optional[bool] = None,
|
|
5149
|
+
require_dc_approval: Optional[bool] = None,
|
|
5150
|
+
search_option: Optional[Union[str, "_models.DocumentTypeSearchOption"]] = None,
|
|
5151
|
+
can_have_certificate: Optional[bool] = None,
|
|
5152
|
+
used: Optional[bool] = None,
|
|
5153
|
+
**kwargs: Any
|
|
5154
|
+
) -> None:
|
|
5155
|
+
"""
|
|
5156
|
+
:keyword id:
|
|
5157
|
+
:paramtype id: str
|
|
5158
|
+
:keyword name:
|
|
5159
|
+
:paramtype name: str
|
|
5160
|
+
:keyword title:
|
|
5161
|
+
:paramtype title: str
|
|
5162
|
+
:keyword desciption:
|
|
5163
|
+
:paramtype desciption: str
|
|
5164
|
+
:keyword active:
|
|
5165
|
+
:paramtype active: bool
|
|
5166
|
+
:keyword number_key: Known values are: "Multiple" and "SingleDocument".
|
|
5167
|
+
:paramtype number_key: str or ~ignos.api.client.models.DocumentNumberKey
|
|
5168
|
+
:keyword document_number_pattern:
|
|
5169
|
+
:paramtype document_number_pattern: str
|
|
5170
|
+
:keyword workflow_type: Known values are: "None", "CustomerProvided", "CustomerApproval", and
|
|
5171
|
+
"InternalWithFix".
|
|
5172
|
+
:paramtype workflow_type: str or ~ignos.api.client.models.DocumentWorkflowType
|
|
5173
|
+
:keyword file_type:
|
|
5174
|
+
:paramtype file_type: str
|
|
5175
|
+
:keyword is_internal_document_type:
|
|
5176
|
+
:paramtype is_internal_document_type: bool
|
|
5177
|
+
:keyword is_generated_document_type:
|
|
5178
|
+
:paramtype is_generated_document_type: bool
|
|
5179
|
+
:keyword require_portable_file:
|
|
5180
|
+
:paramtype require_portable_file: bool
|
|
5181
|
+
:keyword category: Known values are: "General", "Procedure", "Drawing", "Report", and
|
|
5182
|
+
"Certificate".
|
|
5183
|
+
:paramtype category: str or ~ignos.api.client.models.DocumentTypeCategory
|
|
5184
|
+
:keyword can_assign_document_number:
|
|
5185
|
+
:paramtype can_assign_document_number: bool
|
|
5186
|
+
:keyword import_tag:
|
|
5187
|
+
:paramtype import_tag: str
|
|
5188
|
+
:keyword document_requirement_strategy: Known values are: "None", "WorkOrder", "Lot",
|
|
5189
|
+
"Drawing", and "CustomerOrderLine".
|
|
5190
|
+
:paramtype document_requirement_strategy: str or
|
|
5191
|
+
~ignos.api.client.models.DocumentRequirementStrategy
|
|
5192
|
+
:keyword can_link_document:
|
|
5193
|
+
:paramtype can_link_document: bool
|
|
5194
|
+
:keyword require_dc_approval:
|
|
5195
|
+
:paramtype require_dc_approval: bool
|
|
5196
|
+
:keyword search_option: Known values are: "IncludeApproved", "IncludeDraft", and "Exclude".
|
|
5197
|
+
:paramtype search_option: str or ~ignos.api.client.models.DocumentTypeSearchOption
|
|
5198
|
+
:keyword can_have_certificate:
|
|
5199
|
+
:paramtype can_have_certificate: bool
|
|
5200
|
+
:keyword used:
|
|
5201
|
+
:paramtype used: bool
|
|
5202
|
+
:keyword sub_types: Required.
|
|
5203
|
+
:paramtype sub_types: list[~ignos.api.client.models.DocumentSubTypeDto]
|
|
5204
|
+
"""
|
|
5205
|
+
super().__init__(**kwargs)
|
|
5206
|
+
self.id = id
|
|
5207
|
+
self.name = name
|
|
5208
|
+
self.title = title
|
|
5209
|
+
self.desciption = desciption
|
|
5210
|
+
self.active = active
|
|
5211
|
+
self.number_key = number_key
|
|
5212
|
+
self.document_number_pattern = document_number_pattern
|
|
5213
|
+
self.workflow_type = workflow_type
|
|
5214
|
+
self.file_type = file_type
|
|
5215
|
+
self.is_internal_document_type = is_internal_document_type
|
|
5216
|
+
self.is_generated_document_type = is_generated_document_type
|
|
5217
|
+
self.require_portable_file = require_portable_file
|
|
5218
|
+
self.category = category
|
|
5219
|
+
self.can_assign_document_number = can_assign_document_number
|
|
5220
|
+
self.import_tag = import_tag
|
|
5221
|
+
self.document_requirement_strategy = document_requirement_strategy
|
|
5222
|
+
self.can_link_document = can_link_document
|
|
5223
|
+
self.require_dc_approval = require_dc_approval
|
|
5224
|
+
self.search_option = search_option
|
|
5225
|
+
self.can_have_certificate = can_have_certificate
|
|
5226
|
+
self.used = used
|
|
5227
|
+
self.sub_types = sub_types
|
|
5228
|
+
|
|
5229
|
+
|
|
5230
|
+
class DownloadDto(_serialization.Model):
|
|
5231
|
+
"""DownloadDto.
|
|
5232
|
+
|
|
5233
|
+
All required parameters must be populated in order to send to Azure.
|
|
5234
|
+
|
|
5235
|
+
:ivar url: Required.
|
|
5236
|
+
:vartype url: str
|
|
5237
|
+
:ivar expires: Required.
|
|
5238
|
+
:vartype expires: ~datetime.datetime
|
|
5239
|
+
"""
|
|
5240
|
+
|
|
5241
|
+
_validation = {
|
|
5242
|
+
"url": {"required": True, "min_length": 1},
|
|
5243
|
+
"expires": {"required": True},
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
_attribute_map = {
|
|
5247
|
+
"url": {"key": "url", "type": "str"},
|
|
5248
|
+
"expires": {"key": "expires", "type": "iso-8601"},
|
|
5249
|
+
}
|
|
5250
|
+
|
|
5251
|
+
def __init__(self, *, url: str, expires: datetime.datetime, **kwargs: Any) -> None:
|
|
5252
|
+
"""
|
|
5253
|
+
:keyword url: Required.
|
|
5254
|
+
:paramtype url: str
|
|
5255
|
+
:keyword expires: Required.
|
|
5256
|
+
:paramtype expires: ~datetime.datetime
|
|
5257
|
+
"""
|
|
5258
|
+
super().__init__(**kwargs)
|
|
5259
|
+
self.url = url
|
|
5260
|
+
self.expires = expires
|
|
5261
|
+
|
|
5262
|
+
|
|
5263
|
+
class ElectricalIotConfigDto(_serialization.Model):
|
|
5264
|
+
"""ElectricalIotConfigDto.
|
|
5265
|
+
|
|
5266
|
+
All required parameters must be populated in order to send to Azure.
|
|
5267
|
+
|
|
5268
|
+
:ivar id: Required.
|
|
5269
|
+
:vartype id: str
|
|
5270
|
+
:ivar type_id: Required.
|
|
5271
|
+
:vartype type_id: str
|
|
5272
|
+
:ivar serial_number:
|
|
5273
|
+
:vartype serial_number: str
|
|
5274
|
+
:ivar asset_id: Required.
|
|
5275
|
+
:vartype asset_id: int
|
|
5276
|
+
:ivar asset_external_id:
|
|
5277
|
+
:vartype asset_external_id: str
|
|
5278
|
+
:ivar phases:
|
|
5279
|
+
:vartype phases: int
|
|
5280
|
+
:ivar electrical_asset_id:
|
|
5281
|
+
:vartype electrical_asset_id: int
|
|
5282
|
+
:ivar electrical_asset_external_id:
|
|
5283
|
+
:vartype electrical_asset_external_id: str
|
|
5284
|
+
:ivar electrical_timeseries_id:
|
|
5285
|
+
:vartype electrical_timeseries_id: int
|
|
5286
|
+
:ivar electrical_timeseries_external_id:
|
|
5287
|
+
:vartype electrical_timeseries_external_id: str
|
|
5288
|
+
"""
|
|
5289
|
+
|
|
5290
|
+
_validation = {
|
|
5291
|
+
"id": {"required": True, "min_length": 1},
|
|
5292
|
+
"type_id": {"required": True, "min_length": 1},
|
|
5293
|
+
"asset_id": {"required": True},
|
|
5294
|
+
}
|
|
5295
|
+
|
|
5296
|
+
_attribute_map = {
|
|
5297
|
+
"id": {"key": "id", "type": "str"},
|
|
5298
|
+
"type_id": {"key": "typeId", "type": "str"},
|
|
5299
|
+
"serial_number": {"key": "serialNumber", "type": "str"},
|
|
5300
|
+
"asset_id": {"key": "assetId", "type": "int"},
|
|
5301
|
+
"asset_external_id": {"key": "assetExternalId", "type": "str"},
|
|
5302
|
+
"phases": {"key": "phases", "type": "int"},
|
|
5303
|
+
"electrical_asset_id": {"key": "electricalAssetId", "type": "int"},
|
|
5304
|
+
"electrical_asset_external_id": {"key": "electricalAssetExternalId", "type": "str"},
|
|
5305
|
+
"electrical_timeseries_id": {"key": "electricalTimeseriesId", "type": "int"},
|
|
5306
|
+
"electrical_timeseries_external_id": {"key": "electricalTimeseriesExternalId", "type": "str"},
|
|
5307
|
+
}
|
|
5308
|
+
|
|
5309
|
+
def __init__(
|
|
5310
|
+
self,
|
|
5311
|
+
*,
|
|
5312
|
+
id: str, # pylint: disable=redefined-builtin
|
|
5313
|
+
type_id: str,
|
|
5314
|
+
asset_id: int,
|
|
5315
|
+
serial_number: Optional[str] = None,
|
|
5316
|
+
asset_external_id: Optional[str] = None,
|
|
5317
|
+
phases: Optional[int] = None,
|
|
5318
|
+
electrical_asset_id: Optional[int] = None,
|
|
5319
|
+
electrical_asset_external_id: Optional[str] = None,
|
|
5320
|
+
electrical_timeseries_id: Optional[int] = None,
|
|
5321
|
+
electrical_timeseries_external_id: Optional[str] = None,
|
|
5322
|
+
**kwargs: Any
|
|
5323
|
+
) -> None:
|
|
5324
|
+
"""
|
|
5325
|
+
:keyword id: Required.
|
|
5326
|
+
:paramtype id: str
|
|
5327
|
+
:keyword type_id: Required.
|
|
5328
|
+
:paramtype type_id: str
|
|
5329
|
+
:keyword serial_number:
|
|
5330
|
+
:paramtype serial_number: str
|
|
5331
|
+
:keyword asset_id: Required.
|
|
5332
|
+
:paramtype asset_id: int
|
|
5333
|
+
:keyword asset_external_id:
|
|
5334
|
+
:paramtype asset_external_id: str
|
|
5335
|
+
:keyword phases:
|
|
5336
|
+
:paramtype phases: int
|
|
5337
|
+
:keyword electrical_asset_id:
|
|
5338
|
+
:paramtype electrical_asset_id: int
|
|
5339
|
+
:keyword electrical_asset_external_id:
|
|
5340
|
+
:paramtype electrical_asset_external_id: str
|
|
5341
|
+
:keyword electrical_timeseries_id:
|
|
5342
|
+
:paramtype electrical_timeseries_id: int
|
|
5343
|
+
:keyword electrical_timeseries_external_id:
|
|
5344
|
+
:paramtype electrical_timeseries_external_id: str
|
|
5345
|
+
"""
|
|
5346
|
+
super().__init__(**kwargs)
|
|
5347
|
+
self.id = id
|
|
5348
|
+
self.type_id = type_id
|
|
5349
|
+
self.serial_number = serial_number
|
|
5350
|
+
self.asset_id = asset_id
|
|
5351
|
+
self.asset_external_id = asset_external_id
|
|
5352
|
+
self.phases = phases
|
|
5353
|
+
self.electrical_asset_id = electrical_asset_id
|
|
5354
|
+
self.electrical_asset_external_id = electrical_asset_external_id
|
|
5355
|
+
self.electrical_timeseries_id = electrical_timeseries_id
|
|
4762
5356
|
self.electrical_timeseries_external_id = electrical_timeseries_external_id
|
|
4763
5357
|
|
|
4764
5358
|
|
|
@@ -4769,11 +5363,17 @@ class EmployeeDto(_serialization.Model):
|
|
|
4769
5363
|
:vartype id: str
|
|
4770
5364
|
:ivar name:
|
|
4771
5365
|
:vartype name: str
|
|
5366
|
+
:ivar upn:
|
|
5367
|
+
:vartype upn: str
|
|
5368
|
+
:ivar azure_ad_object_id:
|
|
5369
|
+
:vartype azure_ad_object_id: str
|
|
4772
5370
|
"""
|
|
4773
5371
|
|
|
4774
5372
|
_attribute_map = {
|
|
4775
5373
|
"id": {"key": "id", "type": "str"},
|
|
4776
5374
|
"name": {"key": "name", "type": "str"},
|
|
5375
|
+
"upn": {"key": "upn", "type": "str"},
|
|
5376
|
+
"azure_ad_object_id": {"key": "azureAdObjectId", "type": "str"},
|
|
4777
5377
|
}
|
|
4778
5378
|
|
|
4779
5379
|
def __init__(
|
|
@@ -4781,6 +5381,8 @@ class EmployeeDto(_serialization.Model):
|
|
|
4781
5381
|
*,
|
|
4782
5382
|
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
4783
5383
|
name: Optional[str] = None,
|
|
5384
|
+
upn: Optional[str] = None,
|
|
5385
|
+
azure_ad_object_id: Optional[str] = None,
|
|
4784
5386
|
**kwargs: Any
|
|
4785
5387
|
) -> None:
|
|
4786
5388
|
"""
|
|
@@ -4788,10 +5390,16 @@ class EmployeeDto(_serialization.Model):
|
|
|
4788
5390
|
:paramtype id: str
|
|
4789
5391
|
:keyword name:
|
|
4790
5392
|
:paramtype name: str
|
|
5393
|
+
:keyword upn:
|
|
5394
|
+
:paramtype upn: str
|
|
5395
|
+
:keyword azure_ad_object_id:
|
|
5396
|
+
:paramtype azure_ad_object_id: str
|
|
4791
5397
|
"""
|
|
4792
5398
|
super().__init__(**kwargs)
|
|
4793
5399
|
self.id = id
|
|
4794
5400
|
self.name = name
|
|
5401
|
+
self.upn = upn
|
|
5402
|
+
self.azure_ad_object_id = azure_ad_object_id
|
|
4795
5403
|
|
|
4796
5404
|
|
|
4797
5405
|
class ExportDimensionReportRequest(_serialization.Model):
|
|
@@ -5302,6 +5910,241 @@ class ImageFileDto(_serialization.Model):
|
|
|
5302
5910
|
self.thumbnail_url = thumbnail_url
|
|
5303
5911
|
|
|
5304
5912
|
|
|
5913
|
+
class ImportDocument(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
5914
|
+
"""ImportDocument.
|
|
5915
|
+
|
|
5916
|
+
All required parameters must be populated in order to send to Azure.
|
|
5917
|
+
|
|
5918
|
+
:ivar document_type: Required.
|
|
5919
|
+
:vartype document_type: str
|
|
5920
|
+
:ivar document_sub_type:
|
|
5921
|
+
:vartype document_sub_type: str
|
|
5922
|
+
:ivar document_number: Required.
|
|
5923
|
+
:vartype document_number: str
|
|
5924
|
+
:ivar customer_document_number:
|
|
5925
|
+
:vartype customer_document_number: str
|
|
5926
|
+
:ivar custom_document_number:
|
|
5927
|
+
:vartype custom_document_number: str
|
|
5928
|
+
:ivar supplier_document_number:
|
|
5929
|
+
:vartype supplier_document_number: str
|
|
5930
|
+
:ivar title:
|
|
5931
|
+
:vartype title: str
|
|
5932
|
+
:ivar comment:
|
|
5933
|
+
:vartype comment: str
|
|
5934
|
+
:ivar tags: Required.
|
|
5935
|
+
:vartype tags: list[~ignos.api.client.models.DocumentTagDto]
|
|
5936
|
+
:ivar sequences: Required.
|
|
5937
|
+
:vartype sequences: list[str]
|
|
5938
|
+
:ivar internal: Required.
|
|
5939
|
+
:vartype internal: bool
|
|
5940
|
+
:ivar order_lines: Required.
|
|
5941
|
+
:vartype order_lines: list[int]
|
|
5942
|
+
:ivar lots: Required.
|
|
5943
|
+
:vartype lots: list[str]
|
|
5944
|
+
:ivar front_page_document_id:
|
|
5945
|
+
:vartype front_page_document_id: str
|
|
5946
|
+
:ivar document_source: Required. Known values are: 0, 1, 2, and 3.
|
|
5947
|
+
:vartype document_source: int or ~ignos.api.client.models.DocumentSource
|
|
5948
|
+
:ivar revisions: Required.
|
|
5949
|
+
:vartype revisions: list[~ignos.api.client.models.ImportDocumentRevisionDto]
|
|
5950
|
+
"""
|
|
5951
|
+
|
|
5952
|
+
_validation = {
|
|
5953
|
+
"document_type": {"required": True, "min_length": 1},
|
|
5954
|
+
"document_number": {"required": True, "min_length": 1},
|
|
5955
|
+
"tags": {"required": True},
|
|
5956
|
+
"sequences": {"required": True},
|
|
5957
|
+
"internal": {"required": True},
|
|
5958
|
+
"order_lines": {"required": True},
|
|
5959
|
+
"lots": {"required": True},
|
|
5960
|
+
"document_source": {"required": True},
|
|
5961
|
+
"revisions": {"required": True},
|
|
5962
|
+
}
|
|
5963
|
+
|
|
5964
|
+
_attribute_map = {
|
|
5965
|
+
"document_type": {"key": "documentType", "type": "str"},
|
|
5966
|
+
"document_sub_type": {"key": "documentSubType", "type": "str"},
|
|
5967
|
+
"document_number": {"key": "documentNumber", "type": "str"},
|
|
5968
|
+
"customer_document_number": {"key": "customerDocumentNumber", "type": "str"},
|
|
5969
|
+
"custom_document_number": {"key": "customDocumentNumber", "type": "str"},
|
|
5970
|
+
"supplier_document_number": {"key": "supplierDocumentNumber", "type": "str"},
|
|
5971
|
+
"title": {"key": "title", "type": "str"},
|
|
5972
|
+
"comment": {"key": "comment", "type": "str"},
|
|
5973
|
+
"tags": {"key": "tags", "type": "[DocumentTagDto]"},
|
|
5974
|
+
"sequences": {"key": "sequences", "type": "[str]"},
|
|
5975
|
+
"internal": {"key": "internal", "type": "bool"},
|
|
5976
|
+
"order_lines": {"key": "orderLines", "type": "[int]"},
|
|
5977
|
+
"lots": {"key": "lots", "type": "[str]"},
|
|
5978
|
+
"front_page_document_id": {"key": "frontPageDocumentId", "type": "str"},
|
|
5979
|
+
"document_source": {"key": "documentSource", "type": "int"},
|
|
5980
|
+
"revisions": {"key": "revisions", "type": "[ImportDocumentRevisionDto]"},
|
|
5981
|
+
}
|
|
5982
|
+
|
|
5983
|
+
def __init__(
|
|
5984
|
+
self,
|
|
5985
|
+
*,
|
|
5986
|
+
document_type: str,
|
|
5987
|
+
document_number: str,
|
|
5988
|
+
tags: List["_models.DocumentTagDto"],
|
|
5989
|
+
sequences: List[str],
|
|
5990
|
+
internal: bool,
|
|
5991
|
+
order_lines: List[int],
|
|
5992
|
+
lots: List[str],
|
|
5993
|
+
document_source: Union[int, "_models.DocumentSource"],
|
|
5994
|
+
revisions: List["_models.ImportDocumentRevisionDto"],
|
|
5995
|
+
document_sub_type: Optional[str] = None,
|
|
5996
|
+
customer_document_number: Optional[str] = None,
|
|
5997
|
+
custom_document_number: Optional[str] = None,
|
|
5998
|
+
supplier_document_number: Optional[str] = None,
|
|
5999
|
+
title: Optional[str] = None,
|
|
6000
|
+
comment: Optional[str] = None,
|
|
6001
|
+
front_page_document_id: Optional[str] = None,
|
|
6002
|
+
**kwargs: Any
|
|
6003
|
+
) -> None:
|
|
6004
|
+
"""
|
|
6005
|
+
:keyword document_type: Required.
|
|
6006
|
+
:paramtype document_type: str
|
|
6007
|
+
:keyword document_sub_type:
|
|
6008
|
+
:paramtype document_sub_type: str
|
|
6009
|
+
:keyword document_number: Required.
|
|
6010
|
+
:paramtype document_number: str
|
|
6011
|
+
:keyword customer_document_number:
|
|
6012
|
+
:paramtype customer_document_number: str
|
|
6013
|
+
:keyword custom_document_number:
|
|
6014
|
+
:paramtype custom_document_number: str
|
|
6015
|
+
:keyword supplier_document_number:
|
|
6016
|
+
:paramtype supplier_document_number: str
|
|
6017
|
+
:keyword title:
|
|
6018
|
+
:paramtype title: str
|
|
6019
|
+
:keyword comment:
|
|
6020
|
+
:paramtype comment: str
|
|
6021
|
+
:keyword tags: Required.
|
|
6022
|
+
:paramtype tags: list[~ignos.api.client.models.DocumentTagDto]
|
|
6023
|
+
:keyword sequences: Required.
|
|
6024
|
+
:paramtype sequences: list[str]
|
|
6025
|
+
:keyword internal: Required.
|
|
6026
|
+
:paramtype internal: bool
|
|
6027
|
+
:keyword order_lines: Required.
|
|
6028
|
+
:paramtype order_lines: list[int]
|
|
6029
|
+
:keyword lots: Required.
|
|
6030
|
+
:paramtype lots: list[str]
|
|
6031
|
+
:keyword front_page_document_id:
|
|
6032
|
+
:paramtype front_page_document_id: str
|
|
6033
|
+
:keyword document_source: Required. Known values are: 0, 1, 2, and 3.
|
|
6034
|
+
:paramtype document_source: int or ~ignos.api.client.models.DocumentSource
|
|
6035
|
+
:keyword revisions: Required.
|
|
6036
|
+
:paramtype revisions: list[~ignos.api.client.models.ImportDocumentRevisionDto]
|
|
6037
|
+
"""
|
|
6038
|
+
super().__init__(**kwargs)
|
|
6039
|
+
self.document_type = document_type
|
|
6040
|
+
self.document_sub_type = document_sub_type
|
|
6041
|
+
self.document_number = document_number
|
|
6042
|
+
self.customer_document_number = customer_document_number
|
|
6043
|
+
self.custom_document_number = custom_document_number
|
|
6044
|
+
self.supplier_document_number = supplier_document_number
|
|
6045
|
+
self.title = title
|
|
6046
|
+
self.comment = comment
|
|
6047
|
+
self.tags = tags
|
|
6048
|
+
self.sequences = sequences
|
|
6049
|
+
self.internal = internal
|
|
6050
|
+
self.order_lines = order_lines
|
|
6051
|
+
self.lots = lots
|
|
6052
|
+
self.front_page_document_id = front_page_document_id
|
|
6053
|
+
self.document_source = document_source
|
|
6054
|
+
self.revisions = revisions
|
|
6055
|
+
|
|
6056
|
+
|
|
6057
|
+
class ImportDocumentRevisionDto(_serialization.Model):
|
|
6058
|
+
"""ImportDocumentRevisionDto.
|
|
6059
|
+
|
|
6060
|
+
All required parameters must be populated in order to send to Azure.
|
|
6061
|
+
|
|
6062
|
+
:ivar revistion_id: Required.
|
|
6063
|
+
:vartype revistion_id: int
|
|
6064
|
+
:ivar revision:
|
|
6065
|
+
:vartype revision: str
|
|
6066
|
+
:ivar status: Required. Known values are: 0, 1, 2, 3, 10, and 90.
|
|
6067
|
+
:vartype status: int or ~ignos.api.client.models.DocumentStatus
|
|
6068
|
+
:ivar status_date: Required.
|
|
6069
|
+
:vartype status_date: ~datetime.datetime
|
|
6070
|
+
:ivar description:
|
|
6071
|
+
:vartype description: str
|
|
6072
|
+
:ivar import_reference:
|
|
6073
|
+
:vartype import_reference: str
|
|
6074
|
+
:ivar signed_by_document_id:
|
|
6075
|
+
:vartype signed_by_document_id: str
|
|
6076
|
+
:ivar extensions: Required.
|
|
6077
|
+
:vartype extensions: list[str]
|
|
6078
|
+
:ivar approvals: Required.
|
|
6079
|
+
:vartype approvals: list[~ignos.api.client.models.DocumentRevisionApprovalDto]
|
|
6080
|
+
"""
|
|
6081
|
+
|
|
6082
|
+
_validation = {
|
|
6083
|
+
"revistion_id": {"required": True},
|
|
6084
|
+
"status": {"required": True},
|
|
6085
|
+
"status_date": {"required": True},
|
|
6086
|
+
"extensions": {"required": True},
|
|
6087
|
+
"approvals": {"required": True},
|
|
6088
|
+
}
|
|
6089
|
+
|
|
6090
|
+
_attribute_map = {
|
|
6091
|
+
"revistion_id": {"key": "revistionId", "type": "int"},
|
|
6092
|
+
"revision": {"key": "revision", "type": "str"},
|
|
6093
|
+
"status": {"key": "status", "type": "int"},
|
|
6094
|
+
"status_date": {"key": "statusDate", "type": "iso-8601"},
|
|
6095
|
+
"description": {"key": "description", "type": "str"},
|
|
6096
|
+
"import_reference": {"key": "importReference", "type": "str"},
|
|
6097
|
+
"signed_by_document_id": {"key": "signedByDocumentId", "type": "str"},
|
|
6098
|
+
"extensions": {"key": "extensions", "type": "[str]"},
|
|
6099
|
+
"approvals": {"key": "approvals", "type": "[DocumentRevisionApprovalDto]"},
|
|
6100
|
+
}
|
|
6101
|
+
|
|
6102
|
+
def __init__(
|
|
6103
|
+
self,
|
|
6104
|
+
*,
|
|
6105
|
+
revistion_id: int,
|
|
6106
|
+
status: Union[int, "_models.DocumentStatus"],
|
|
6107
|
+
status_date: datetime.datetime,
|
|
6108
|
+
extensions: List[str],
|
|
6109
|
+
approvals: List["_models.DocumentRevisionApprovalDto"],
|
|
6110
|
+
revision: Optional[str] = None,
|
|
6111
|
+
description: Optional[str] = None,
|
|
6112
|
+
import_reference: Optional[str] = None,
|
|
6113
|
+
signed_by_document_id: Optional[str] = None,
|
|
6114
|
+
**kwargs: Any
|
|
6115
|
+
) -> None:
|
|
6116
|
+
"""
|
|
6117
|
+
:keyword revistion_id: Required.
|
|
6118
|
+
:paramtype revistion_id: int
|
|
6119
|
+
:keyword revision:
|
|
6120
|
+
:paramtype revision: str
|
|
6121
|
+
:keyword status: Required. Known values are: 0, 1, 2, 3, 10, and 90.
|
|
6122
|
+
:paramtype status: int or ~ignos.api.client.models.DocumentStatus
|
|
6123
|
+
:keyword status_date: Required.
|
|
6124
|
+
:paramtype status_date: ~datetime.datetime
|
|
6125
|
+
:keyword description:
|
|
6126
|
+
:paramtype description: str
|
|
6127
|
+
:keyword import_reference:
|
|
6128
|
+
:paramtype import_reference: str
|
|
6129
|
+
:keyword signed_by_document_id:
|
|
6130
|
+
:paramtype signed_by_document_id: str
|
|
6131
|
+
:keyword extensions: Required.
|
|
6132
|
+
:paramtype extensions: list[str]
|
|
6133
|
+
:keyword approvals: Required.
|
|
6134
|
+
:paramtype approvals: list[~ignos.api.client.models.DocumentRevisionApprovalDto]
|
|
6135
|
+
"""
|
|
6136
|
+
super().__init__(**kwargs)
|
|
6137
|
+
self.revistion_id = revistion_id
|
|
6138
|
+
self.revision = revision
|
|
6139
|
+
self.status = status
|
|
6140
|
+
self.status_date = status_date
|
|
6141
|
+
self.description = description
|
|
6142
|
+
self.import_reference = import_reference
|
|
6143
|
+
self.signed_by_document_id = signed_by_document_id
|
|
6144
|
+
self.extensions = extensions
|
|
6145
|
+
self.approvals = approvals
|
|
6146
|
+
|
|
6147
|
+
|
|
5305
6148
|
class ImportMeasurementFormInstanceRequest(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
5306
6149
|
"""ImportMeasurementFormInstanceRequest.
|
|
5307
6150
|
|
|
@@ -7207,6 +8050,8 @@ class MachineDto(_serialization.Model):
|
|
|
7207
8050
|
:vartype description: str
|
|
7208
8051
|
:ivar type:
|
|
7209
8052
|
:vartype type: str
|
|
8053
|
+
:ivar work_order_asset_external_id:
|
|
8054
|
+
:vartype work_order_asset_external_id: str
|
|
7210
8055
|
"""
|
|
7211
8056
|
|
|
7212
8057
|
_validation = {
|
|
@@ -7221,6 +8066,7 @@ class MachineDto(_serialization.Model):
|
|
|
7221
8066
|
"name": {"key": "name", "type": "str"},
|
|
7222
8067
|
"description": {"key": "description", "type": "str"},
|
|
7223
8068
|
"type": {"key": "type", "type": "str"},
|
|
8069
|
+
"work_order_asset_external_id": {"key": "workOrderAssetExternalId", "type": "str"},
|
|
7224
8070
|
}
|
|
7225
8071
|
|
|
7226
8072
|
def __init__(
|
|
@@ -7231,6 +8077,7 @@ class MachineDto(_serialization.Model):
|
|
|
7231
8077
|
name: str,
|
|
7232
8078
|
description: Optional[str] = None,
|
|
7233
8079
|
type: Optional[str] = None,
|
|
8080
|
+
work_order_asset_external_id: Optional[str] = None,
|
|
7234
8081
|
**kwargs: Any
|
|
7235
8082
|
) -> None:
|
|
7236
8083
|
"""
|
|
@@ -7244,6 +8091,8 @@ class MachineDto(_serialization.Model):
|
|
|
7244
8091
|
:paramtype description: str
|
|
7245
8092
|
:keyword type:
|
|
7246
8093
|
:paramtype type: str
|
|
8094
|
+
:keyword work_order_asset_external_id:
|
|
8095
|
+
:paramtype work_order_asset_external_id: str
|
|
7247
8096
|
"""
|
|
7248
8097
|
super().__init__(**kwargs)
|
|
7249
8098
|
self.id = id
|
|
@@ -7251,6 +8100,7 @@ class MachineDto(_serialization.Model):
|
|
|
7251
8100
|
self.name = name
|
|
7252
8101
|
self.description = description
|
|
7253
8102
|
self.type = type
|
|
8103
|
+
self.work_order_asset_external_id = work_order_asset_external_id
|
|
7254
8104
|
|
|
7255
8105
|
|
|
7256
8106
|
class MachineGroupDto(_serialization.Model):
|
|
@@ -7896,6 +8746,109 @@ class ManufacturerDto(_serialization.Model):
|
|
|
7896
8746
|
self.name = name
|
|
7897
8747
|
|
|
7898
8748
|
|
|
8749
|
+
class MaterialConsumptionDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
8750
|
+
"""MaterialConsumptionDto.
|
|
8751
|
+
|
|
8752
|
+
All required parameters must be populated in order to send to Azure.
|
|
8753
|
+
|
|
8754
|
+
:ivar operation:
|
|
8755
|
+
:vartype operation: int
|
|
8756
|
+
:ivar material_line:
|
|
8757
|
+
:vartype material_line: int
|
|
8758
|
+
:ivar material: Required.
|
|
8759
|
+
:vartype material: ~ignos.api.client.models.PartDto
|
|
8760
|
+
:ivar quantity: Required.
|
|
8761
|
+
:vartype quantity: float
|
|
8762
|
+
:ivar unit:
|
|
8763
|
+
:vartype unit: str
|
|
8764
|
+
:ivar trace_type: Required. Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
8765
|
+
:vartype trace_type: str or ~ignos.api.client.models.TraceType
|
|
8766
|
+
:ivar lot:
|
|
8767
|
+
:vartype lot: str
|
|
8768
|
+
:ivar heat:
|
|
8769
|
+
:vartype heat: str
|
|
8770
|
+
:ivar supplier_id:
|
|
8771
|
+
:vartype supplier_id: str
|
|
8772
|
+
:ivar procurement_order:
|
|
8773
|
+
:vartype procurement_order: str
|
|
8774
|
+
:ivar procurement_order_line:
|
|
8775
|
+
:vartype procurement_order_line: int
|
|
8776
|
+
"""
|
|
8777
|
+
|
|
8778
|
+
_validation = {
|
|
8779
|
+
"material": {"required": True},
|
|
8780
|
+
"quantity": {"required": True},
|
|
8781
|
+
"trace_type": {"required": True},
|
|
8782
|
+
}
|
|
8783
|
+
|
|
8784
|
+
_attribute_map = {
|
|
8785
|
+
"operation": {"key": "operation", "type": "int"},
|
|
8786
|
+
"material_line": {"key": "materialLine", "type": "int"},
|
|
8787
|
+
"material": {"key": "material", "type": "PartDto"},
|
|
8788
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
8789
|
+
"unit": {"key": "unit", "type": "str"},
|
|
8790
|
+
"trace_type": {"key": "traceType", "type": "str"},
|
|
8791
|
+
"lot": {"key": "lot", "type": "str"},
|
|
8792
|
+
"heat": {"key": "heat", "type": "str"},
|
|
8793
|
+
"supplier_id": {"key": "supplierId", "type": "str"},
|
|
8794
|
+
"procurement_order": {"key": "procurementOrder", "type": "str"},
|
|
8795
|
+
"procurement_order_line": {"key": "procurementOrderLine", "type": "int"},
|
|
8796
|
+
}
|
|
8797
|
+
|
|
8798
|
+
def __init__(
|
|
8799
|
+
self,
|
|
8800
|
+
*,
|
|
8801
|
+
material: "_models.PartDto",
|
|
8802
|
+
quantity: float,
|
|
8803
|
+
trace_type: Union[str, "_models.TraceType"],
|
|
8804
|
+
operation: Optional[int] = None,
|
|
8805
|
+
material_line: Optional[int] = None,
|
|
8806
|
+
unit: Optional[str] = None,
|
|
8807
|
+
lot: Optional[str] = None,
|
|
8808
|
+
heat: Optional[str] = None,
|
|
8809
|
+
supplier_id: Optional[str] = None,
|
|
8810
|
+
procurement_order: Optional[str] = None,
|
|
8811
|
+
procurement_order_line: Optional[int] = None,
|
|
8812
|
+
**kwargs: Any
|
|
8813
|
+
) -> None:
|
|
8814
|
+
"""
|
|
8815
|
+
:keyword operation:
|
|
8816
|
+
:paramtype operation: int
|
|
8817
|
+
:keyword material_line:
|
|
8818
|
+
:paramtype material_line: int
|
|
8819
|
+
:keyword material: Required.
|
|
8820
|
+
:paramtype material: ~ignos.api.client.models.PartDto
|
|
8821
|
+
:keyword quantity: Required.
|
|
8822
|
+
:paramtype quantity: float
|
|
8823
|
+
:keyword unit:
|
|
8824
|
+
:paramtype unit: str
|
|
8825
|
+
:keyword trace_type: Required. Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
8826
|
+
:paramtype trace_type: str or ~ignos.api.client.models.TraceType
|
|
8827
|
+
:keyword lot:
|
|
8828
|
+
:paramtype lot: str
|
|
8829
|
+
:keyword heat:
|
|
8830
|
+
:paramtype heat: str
|
|
8831
|
+
:keyword supplier_id:
|
|
8832
|
+
:paramtype supplier_id: str
|
|
8833
|
+
:keyword procurement_order:
|
|
8834
|
+
:paramtype procurement_order: str
|
|
8835
|
+
:keyword procurement_order_line:
|
|
8836
|
+
:paramtype procurement_order_line: int
|
|
8837
|
+
"""
|
|
8838
|
+
super().__init__(**kwargs)
|
|
8839
|
+
self.operation = operation
|
|
8840
|
+
self.material_line = material_line
|
|
8841
|
+
self.material = material
|
|
8842
|
+
self.quantity = quantity
|
|
8843
|
+
self.unit = unit
|
|
8844
|
+
self.trace_type = trace_type
|
|
8845
|
+
self.lot = lot
|
|
8846
|
+
self.heat = heat
|
|
8847
|
+
self.supplier_id = supplier_id
|
|
8848
|
+
self.procurement_order = procurement_order
|
|
8849
|
+
self.procurement_order_line = procurement_order_line
|
|
8850
|
+
|
|
8851
|
+
|
|
7899
8852
|
class MaterialMassDensityDto(_serialization.Model):
|
|
7900
8853
|
"""MaterialMassDensityDto.
|
|
7901
8854
|
|
|
@@ -12675,32 +13628,194 @@ class MeasuringUnitDto(_serialization.Model):
|
|
|
12675
13628
|
|
|
12676
13629
|
All required parameters must be populated in order to send to Azure.
|
|
12677
13630
|
|
|
12678
|
-
:ivar id: Required.
|
|
13631
|
+
:ivar id: Required.
|
|
13632
|
+
:vartype id: str
|
|
13633
|
+
:ivar unit: Required.
|
|
13634
|
+
:vartype unit: str
|
|
13635
|
+
"""
|
|
13636
|
+
|
|
13637
|
+
_validation = {
|
|
13638
|
+
"id": {"required": True},
|
|
13639
|
+
"unit": {"required": True, "min_length": 1},
|
|
13640
|
+
}
|
|
13641
|
+
|
|
13642
|
+
_attribute_map = {
|
|
13643
|
+
"id": {"key": "id", "type": "str"},
|
|
13644
|
+
"unit": {"key": "unit", "type": "str"},
|
|
13645
|
+
}
|
|
13646
|
+
|
|
13647
|
+
def __init__(self, *, id: str, unit: str, **kwargs: Any) -> None: # pylint: disable=redefined-builtin
|
|
13648
|
+
"""
|
|
13649
|
+
:keyword id: Required.
|
|
13650
|
+
:paramtype id: str
|
|
13651
|
+
:keyword unit: Required.
|
|
13652
|
+
:paramtype unit: str
|
|
13653
|
+
"""
|
|
13654
|
+
super().__init__(**kwargs)
|
|
13655
|
+
self.id = id
|
|
13656
|
+
self.unit = unit
|
|
13657
|
+
|
|
13658
|
+
|
|
13659
|
+
class MrbTemplateDto(_serialization.Model):
|
|
13660
|
+
"""MrbTemplateDto.
|
|
13661
|
+
|
|
13662
|
+
:ivar id:
|
|
12679
13663
|
:vartype id: str
|
|
12680
|
-
:ivar
|
|
12681
|
-
:vartype
|
|
13664
|
+
:ivar title:
|
|
13665
|
+
:vartype title: str
|
|
13666
|
+
:ivar customer_id:
|
|
13667
|
+
:vartype customer_id: str
|
|
13668
|
+
:ivar customer_group_id:
|
|
13669
|
+
:vartype customer_group_id: str
|
|
13670
|
+
:ivar customer_name:
|
|
13671
|
+
:vartype customer_name: str
|
|
13672
|
+
:ivar url:
|
|
13673
|
+
:vartype url: str
|
|
13674
|
+
:ivar shared_access_uri:
|
|
13675
|
+
:vartype shared_access_uri: str
|
|
13676
|
+
:ivar elements:
|
|
13677
|
+
:vartype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
12682
13678
|
"""
|
|
12683
13679
|
|
|
12684
|
-
_validation = {
|
|
12685
|
-
"id": {"required": True},
|
|
12686
|
-
"unit": {"required": True, "min_length": 1},
|
|
12687
|
-
}
|
|
12688
|
-
|
|
12689
13680
|
_attribute_map = {
|
|
12690
13681
|
"id": {"key": "id", "type": "str"},
|
|
12691
|
-
"
|
|
13682
|
+
"title": {"key": "title", "type": "str"},
|
|
13683
|
+
"customer_id": {"key": "customerId", "type": "str"},
|
|
13684
|
+
"customer_group_id": {"key": "customerGroupId", "type": "str"},
|
|
13685
|
+
"customer_name": {"key": "customerName", "type": "str"},
|
|
13686
|
+
"url": {"key": "url", "type": "str"},
|
|
13687
|
+
"shared_access_uri": {"key": "sharedAccessUri", "type": "str"},
|
|
13688
|
+
"elements": {"key": "elements", "type": "[MrbTemplateElementDto]"},
|
|
12692
13689
|
}
|
|
12693
13690
|
|
|
12694
|
-
def __init__(
|
|
13691
|
+
def __init__(
|
|
13692
|
+
self,
|
|
13693
|
+
*,
|
|
13694
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
13695
|
+
title: Optional[str] = None,
|
|
13696
|
+
customer_id: Optional[str] = None,
|
|
13697
|
+
customer_group_id: Optional[str] = None,
|
|
13698
|
+
customer_name: Optional[str] = None,
|
|
13699
|
+
url: Optional[str] = None,
|
|
13700
|
+
shared_access_uri: Optional[str] = None,
|
|
13701
|
+
elements: Optional[List["_models.MrbTemplateElementDto"]] = None,
|
|
13702
|
+
**kwargs: Any
|
|
13703
|
+
) -> None:
|
|
12695
13704
|
"""
|
|
12696
|
-
:keyword id:
|
|
13705
|
+
:keyword id:
|
|
12697
13706
|
:paramtype id: str
|
|
12698
|
-
:keyword
|
|
12699
|
-
:paramtype
|
|
13707
|
+
:keyword title:
|
|
13708
|
+
:paramtype title: str
|
|
13709
|
+
:keyword customer_id:
|
|
13710
|
+
:paramtype customer_id: str
|
|
13711
|
+
:keyword customer_group_id:
|
|
13712
|
+
:paramtype customer_group_id: str
|
|
13713
|
+
:keyword customer_name:
|
|
13714
|
+
:paramtype customer_name: str
|
|
13715
|
+
:keyword url:
|
|
13716
|
+
:paramtype url: str
|
|
13717
|
+
:keyword shared_access_uri:
|
|
13718
|
+
:paramtype shared_access_uri: str
|
|
13719
|
+
:keyword elements:
|
|
13720
|
+
:paramtype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
12700
13721
|
"""
|
|
12701
13722
|
super().__init__(**kwargs)
|
|
12702
13723
|
self.id = id
|
|
12703
|
-
self.
|
|
13724
|
+
self.title = title
|
|
13725
|
+
self.customer_id = customer_id
|
|
13726
|
+
self.customer_group_id = customer_group_id
|
|
13727
|
+
self.customer_name = customer_name
|
|
13728
|
+
self.url = url
|
|
13729
|
+
self.shared_access_uri = shared_access_uri
|
|
13730
|
+
self.elements = elements
|
|
13731
|
+
|
|
13732
|
+
|
|
13733
|
+
class MrbTemplateElementDto(_serialization.Model):
|
|
13734
|
+
"""MrbTemplateElementDto.
|
|
13735
|
+
|
|
13736
|
+
:ivar document_index:
|
|
13737
|
+
:vartype document_index: str
|
|
13738
|
+
:ivar bookmark_title:
|
|
13739
|
+
:vartype bookmark_title: str
|
|
13740
|
+
:ivar elements:
|
|
13741
|
+
:vartype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
13742
|
+
:ivar empty_chapter_strategy: Known values are: 0, 1, and 2.
|
|
13743
|
+
:vartype empty_chapter_strategy: int or ~ignos.api.client.models.EmptyChapterStrategy
|
|
13744
|
+
:ivar template_page_number:
|
|
13745
|
+
:vartype template_page_number: int
|
|
13746
|
+
:ivar generated_document_types:
|
|
13747
|
+
:vartype generated_document_types: list[str]
|
|
13748
|
+
:ivar document_types:
|
|
13749
|
+
:vartype document_types: list[str]
|
|
13750
|
+
:ivar separator_format_title:
|
|
13751
|
+
:vartype separator_format_title: str
|
|
13752
|
+
:ivar child_document_bookmark_title:
|
|
13753
|
+
:vartype child_document_bookmark_title: str
|
|
13754
|
+
:ivar element_type: Known values are: 0, 1, 2, 3, and 4.
|
|
13755
|
+
:vartype element_type: int or ~ignos.api.client.models.MrbElementType
|
|
13756
|
+
"""
|
|
13757
|
+
|
|
13758
|
+
_attribute_map = {
|
|
13759
|
+
"document_index": {"key": "documentIndex", "type": "str"},
|
|
13760
|
+
"bookmark_title": {"key": "bookmarkTitle", "type": "str"},
|
|
13761
|
+
"elements": {"key": "elements", "type": "[MrbTemplateElementDto]"},
|
|
13762
|
+
"empty_chapter_strategy": {"key": "emptyChapterStrategy", "type": "int"},
|
|
13763
|
+
"template_page_number": {"key": "templatePageNumber", "type": "int"},
|
|
13764
|
+
"generated_document_types": {"key": "generatedDocumentTypes", "type": "[str]"},
|
|
13765
|
+
"document_types": {"key": "documentTypes", "type": "[str]"},
|
|
13766
|
+
"separator_format_title": {"key": "separatorFormatTitle", "type": "str"},
|
|
13767
|
+
"child_document_bookmark_title": {"key": "childDocumentBookmarkTitle", "type": "str"},
|
|
13768
|
+
"element_type": {"key": "elementType", "type": "int"},
|
|
13769
|
+
}
|
|
13770
|
+
|
|
13771
|
+
def __init__(
|
|
13772
|
+
self,
|
|
13773
|
+
*,
|
|
13774
|
+
document_index: Optional[str] = None,
|
|
13775
|
+
bookmark_title: Optional[str] = None,
|
|
13776
|
+
elements: Optional[List["_models.MrbTemplateElementDto"]] = None,
|
|
13777
|
+
empty_chapter_strategy: Optional[Union[int, "_models.EmptyChapterStrategy"]] = None,
|
|
13778
|
+
template_page_number: Optional[int] = None,
|
|
13779
|
+
generated_document_types: Optional[List[str]] = None,
|
|
13780
|
+
document_types: Optional[List[str]] = None,
|
|
13781
|
+
separator_format_title: Optional[str] = None,
|
|
13782
|
+
child_document_bookmark_title: Optional[str] = None,
|
|
13783
|
+
element_type: Optional[Union[int, "_models.MrbElementType"]] = None,
|
|
13784
|
+
**kwargs: Any
|
|
13785
|
+
) -> None:
|
|
13786
|
+
"""
|
|
13787
|
+
:keyword document_index:
|
|
13788
|
+
:paramtype document_index: str
|
|
13789
|
+
:keyword bookmark_title:
|
|
13790
|
+
:paramtype bookmark_title: str
|
|
13791
|
+
:keyword elements:
|
|
13792
|
+
:paramtype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
13793
|
+
:keyword empty_chapter_strategy: Known values are: 0, 1, and 2.
|
|
13794
|
+
:paramtype empty_chapter_strategy: int or ~ignos.api.client.models.EmptyChapterStrategy
|
|
13795
|
+
:keyword template_page_number:
|
|
13796
|
+
:paramtype template_page_number: int
|
|
13797
|
+
:keyword generated_document_types:
|
|
13798
|
+
:paramtype generated_document_types: list[str]
|
|
13799
|
+
:keyword document_types:
|
|
13800
|
+
:paramtype document_types: list[str]
|
|
13801
|
+
:keyword separator_format_title:
|
|
13802
|
+
:paramtype separator_format_title: str
|
|
13803
|
+
:keyword child_document_bookmark_title:
|
|
13804
|
+
:paramtype child_document_bookmark_title: str
|
|
13805
|
+
:keyword element_type: Known values are: 0, 1, 2, 3, and 4.
|
|
13806
|
+
:paramtype element_type: int or ~ignos.api.client.models.MrbElementType
|
|
13807
|
+
"""
|
|
13808
|
+
super().__init__(**kwargs)
|
|
13809
|
+
self.document_index = document_index
|
|
13810
|
+
self.bookmark_title = bookmark_title
|
|
13811
|
+
self.elements = elements
|
|
13812
|
+
self.empty_chapter_strategy = empty_chapter_strategy
|
|
13813
|
+
self.template_page_number = template_page_number
|
|
13814
|
+
self.generated_document_types = generated_document_types
|
|
13815
|
+
self.document_types = document_types
|
|
13816
|
+
self.separator_format_title = separator_format_title
|
|
13817
|
+
self.child_document_bookmark_title = child_document_bookmark_title
|
|
13818
|
+
self.element_type = element_type
|
|
12704
13819
|
|
|
12705
13820
|
|
|
12706
13821
|
class NumericDataPointDto(_serialization.Model):
|
|
@@ -12875,6 +13990,8 @@ class PartDto(_serialization.Model):
|
|
|
12875
13990
|
:vartype drawing: str
|
|
12876
13991
|
:ivar drawing_revision:
|
|
12877
13992
|
:vartype drawing_revision: str
|
|
13993
|
+
:ivar material:
|
|
13994
|
+
:vartype material: str
|
|
12878
13995
|
"""
|
|
12879
13996
|
|
|
12880
13997
|
_validation = {
|
|
@@ -12887,6 +14004,7 @@ class PartDto(_serialization.Model):
|
|
|
12887
14004
|
"part_name": {"key": "partName", "type": "str"},
|
|
12888
14005
|
"drawing": {"key": "drawing", "type": "str"},
|
|
12889
14006
|
"drawing_revision": {"key": "drawingRevision", "type": "str"},
|
|
14007
|
+
"material": {"key": "material", "type": "str"},
|
|
12890
14008
|
}
|
|
12891
14009
|
|
|
12892
14010
|
def __init__(
|
|
@@ -12897,6 +14015,7 @@ class PartDto(_serialization.Model):
|
|
|
12897
14015
|
part_name: Optional[str] = None,
|
|
12898
14016
|
drawing: Optional[str] = None,
|
|
12899
14017
|
drawing_revision: Optional[str] = None,
|
|
14018
|
+
material: Optional[str] = None,
|
|
12900
14019
|
**kwargs: Any
|
|
12901
14020
|
) -> None:
|
|
12902
14021
|
"""
|
|
@@ -12910,6 +14029,8 @@ class PartDto(_serialization.Model):
|
|
|
12910
14029
|
:paramtype drawing: str
|
|
12911
14030
|
:keyword drawing_revision:
|
|
12912
14031
|
:paramtype drawing_revision: str
|
|
14032
|
+
:keyword material:
|
|
14033
|
+
:paramtype material: str
|
|
12913
14034
|
"""
|
|
12914
14035
|
super().__init__(**kwargs)
|
|
12915
14036
|
self.part_number = part_number
|
|
@@ -12917,6 +14038,7 @@ class PartDto(_serialization.Model):
|
|
|
12917
14038
|
self.part_name = part_name
|
|
12918
14039
|
self.drawing = drawing
|
|
12919
14040
|
self.drawing_revision = drawing_revision
|
|
14041
|
+
self.material = material
|
|
12920
14042
|
|
|
12921
14043
|
|
|
12922
14044
|
class PowerDto(_serialization.Model):
|
|
@@ -13197,28 +14319,37 @@ class ProductionCompanyDto(_serialization.Model):
|
|
|
13197
14319
|
:vartype id: str
|
|
13198
14320
|
:ivar name: Required.
|
|
13199
14321
|
:vartype name: str
|
|
14322
|
+
:ivar selected: Required.
|
|
14323
|
+
:vartype selected: bool
|
|
13200
14324
|
"""
|
|
13201
14325
|
|
|
13202
14326
|
_validation = {
|
|
13203
14327
|
"id": {"required": True, "min_length": 1},
|
|
13204
14328
|
"name": {"required": True, "min_length": 1},
|
|
14329
|
+
"selected": {"required": True},
|
|
13205
14330
|
}
|
|
13206
14331
|
|
|
13207
14332
|
_attribute_map = {
|
|
13208
14333
|
"id": {"key": "id", "type": "str"},
|
|
13209
14334
|
"name": {"key": "name", "type": "str"},
|
|
14335
|
+
"selected": {"key": "selected", "type": "bool"},
|
|
13210
14336
|
}
|
|
13211
14337
|
|
|
13212
|
-
def __init__(
|
|
14338
|
+
def __init__(
|
|
14339
|
+
self, *, id: str, name: str, selected: bool, **kwargs: Any # pylint: disable=redefined-builtin
|
|
14340
|
+
) -> None:
|
|
13213
14341
|
"""
|
|
13214
14342
|
:keyword id: Required.
|
|
13215
14343
|
:paramtype id: str
|
|
13216
14344
|
:keyword name: Required.
|
|
13217
14345
|
:paramtype name: str
|
|
14346
|
+
:keyword selected: Required.
|
|
14347
|
+
:paramtype selected: bool
|
|
13218
14348
|
"""
|
|
13219
14349
|
super().__init__(**kwargs)
|
|
13220
14350
|
self.id = id
|
|
13221
14351
|
self.name = name
|
|
14352
|
+
self.selected = selected
|
|
13222
14353
|
|
|
13223
14354
|
|
|
13224
14355
|
class ProductionEmployeeDto(_serialization.Model):
|
|
@@ -13274,137 +14405,299 @@ class ProductionEmployeeDto(_serialization.Model):
|
|
|
13274
14405
|
self.dimension_display_value = dimension_display_value
|
|
13275
14406
|
|
|
13276
14407
|
|
|
13277
|
-
class ProductionOrderDto(_serialization.Model):
|
|
14408
|
+
class ProductionOrderDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
13278
14409
|
"""ProductionOrderDto.
|
|
13279
14410
|
|
|
13280
|
-
All required parameters must be populated in order to send to Azure.
|
|
13281
|
-
|
|
13282
|
-
:ivar data_area_id:
|
|
13283
|
-
:vartype data_area_id: str
|
|
13284
14411
|
:ivar id:
|
|
13285
14412
|
:vartype id: str
|
|
14413
|
+
:ivar company_id:
|
|
14414
|
+
:vartype company_id: str
|
|
14415
|
+
:ivar part:
|
|
14416
|
+
:vartype part: ~ignos.api.client.models.PartDto
|
|
13286
14417
|
:ivar quantity:
|
|
13287
14418
|
:vartype quantity: float
|
|
14419
|
+
:ivar unit:
|
|
14420
|
+
:vartype unit: str
|
|
14421
|
+
:ivar status: Known values are: "Draft", "Ready", "Ongoing", "Completed", and "Deleted".
|
|
14422
|
+
:vartype status: str or ~ignos.api.client.models.WorkorderStatus
|
|
14423
|
+
:ivar operations:
|
|
14424
|
+
:vartype operations: list[~ignos.api.client.models.ProductionOrderOperationDto]
|
|
14425
|
+
:ivar planned_start:
|
|
14426
|
+
:vartype planned_start: ~datetime.datetime
|
|
14427
|
+
:ivar planned_end:
|
|
14428
|
+
:vartype planned_end: ~datetime.datetime
|
|
14429
|
+
:ivar produced_quantity:
|
|
14430
|
+
:vartype produced_quantity: float
|
|
14431
|
+
:ivar scrapped_quantity:
|
|
14432
|
+
:vartype scrapped_quantity: float
|
|
14433
|
+
:ivar planner:
|
|
14434
|
+
:vartype planner: ~ignos.api.client.models.UserDto
|
|
14435
|
+
:ivar project_leader:
|
|
14436
|
+
:vartype project_leader: ~ignos.api.client.models.UserDto
|
|
14437
|
+
:ivar end_location:
|
|
14438
|
+
:vartype end_location: str
|
|
14439
|
+
:ivar project:
|
|
14440
|
+
:vartype project: ~ignos.api.client.models.WorkOrderProjectDto
|
|
13288
14441
|
:ivar start_date:
|
|
13289
14442
|
:vartype start_date: ~datetime.datetime
|
|
13290
14443
|
:ivar end_date:
|
|
13291
14444
|
:vartype end_date: ~datetime.datetime
|
|
13292
|
-
:ivar
|
|
13293
|
-
:vartype
|
|
13294
|
-
:ivar item_number:
|
|
13295
|
-
:vartype item_number: str
|
|
13296
|
-
:ivar operations: Required.
|
|
13297
|
-
:vartype operations: list[~ignos.api.client.models.ProductionOrderOperationDto]
|
|
14445
|
+
:ivar bom_position:
|
|
14446
|
+
:vartype bom_position: str
|
|
13298
14447
|
"""
|
|
13299
14448
|
|
|
13300
|
-
_validation = {
|
|
13301
|
-
"operations": {"required": True},
|
|
13302
|
-
}
|
|
13303
|
-
|
|
13304
14449
|
_attribute_map = {
|
|
13305
|
-
"data_area_id": {"key": "dataAreaId", "type": "str"},
|
|
13306
14450
|
"id": {"key": "id", "type": "str"},
|
|
14451
|
+
"company_id": {"key": "companyId", "type": "str"},
|
|
14452
|
+
"part": {"key": "part", "type": "PartDto"},
|
|
13307
14453
|
"quantity": {"key": "quantity", "type": "float"},
|
|
14454
|
+
"unit": {"key": "unit", "type": "str"},
|
|
14455
|
+
"status": {"key": "status", "type": "str"},
|
|
14456
|
+
"operations": {"key": "operations", "type": "[ProductionOrderOperationDto]"},
|
|
14457
|
+
"planned_start": {"key": "plannedStart", "type": "iso-8601"},
|
|
14458
|
+
"planned_end": {"key": "plannedEnd", "type": "iso-8601"},
|
|
14459
|
+
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
14460
|
+
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
14461
|
+
"planner": {"key": "planner", "type": "UserDto"},
|
|
14462
|
+
"project_leader": {"key": "projectLeader", "type": "UserDto"},
|
|
14463
|
+
"end_location": {"key": "endLocation", "type": "str"},
|
|
14464
|
+
"project": {"key": "project", "type": "WorkOrderProjectDto"},
|
|
13308
14465
|
"start_date": {"key": "startDate", "type": "iso-8601"},
|
|
13309
14466
|
"end_date": {"key": "endDate", "type": "iso-8601"},
|
|
13310
|
-
"
|
|
13311
|
-
"item_number": {"key": "itemNumber", "type": "str"},
|
|
13312
|
-
"operations": {"key": "operations", "type": "[ProductionOrderOperationDto]"},
|
|
14467
|
+
"bom_position": {"key": "bomPosition", "type": "str"},
|
|
13313
14468
|
}
|
|
13314
14469
|
|
|
13315
14470
|
def __init__(
|
|
13316
14471
|
self,
|
|
13317
14472
|
*,
|
|
13318
|
-
operations: List["_models.ProductionOrderOperationDto"],
|
|
13319
|
-
data_area_id: Optional[str] = None,
|
|
13320
14473
|
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
14474
|
+
company_id: Optional[str] = None,
|
|
14475
|
+
part: Optional["_models.PartDto"] = None,
|
|
13321
14476
|
quantity: Optional[float] = None,
|
|
14477
|
+
unit: Optional[str] = None,
|
|
14478
|
+
status: Optional[Union[str, "_models.WorkorderStatus"]] = None,
|
|
14479
|
+
operations: Optional[List["_models.ProductionOrderOperationDto"]] = None,
|
|
14480
|
+
planned_start: Optional[datetime.datetime] = None,
|
|
14481
|
+
planned_end: Optional[datetime.datetime] = None,
|
|
14482
|
+
produced_quantity: Optional[float] = None,
|
|
14483
|
+
scrapped_quantity: Optional[float] = None,
|
|
14484
|
+
planner: Optional["_models.UserDto"] = None,
|
|
14485
|
+
project_leader: Optional["_models.UserDto"] = None,
|
|
14486
|
+
end_location: Optional[str] = None,
|
|
14487
|
+
project: Optional["_models.WorkOrderProjectDto"] = None,
|
|
13322
14488
|
start_date: Optional[datetime.datetime] = None,
|
|
13323
14489
|
end_date: Optional[datetime.datetime] = None,
|
|
13324
|
-
|
|
13325
|
-
item_number: Optional[str] = None,
|
|
14490
|
+
bom_position: Optional[str] = None,
|
|
13326
14491
|
**kwargs: Any
|
|
13327
14492
|
) -> None:
|
|
13328
14493
|
"""
|
|
13329
|
-
:keyword data_area_id:
|
|
13330
|
-
:paramtype data_area_id: str
|
|
13331
14494
|
:keyword id:
|
|
13332
14495
|
:paramtype id: str
|
|
14496
|
+
:keyword company_id:
|
|
14497
|
+
:paramtype company_id: str
|
|
14498
|
+
:keyword part:
|
|
14499
|
+
:paramtype part: ~ignos.api.client.models.PartDto
|
|
13333
14500
|
:keyword quantity:
|
|
13334
14501
|
:paramtype quantity: float
|
|
14502
|
+
:keyword unit:
|
|
14503
|
+
:paramtype unit: str
|
|
14504
|
+
:keyword status: Known values are: "Draft", "Ready", "Ongoing", "Completed", and "Deleted".
|
|
14505
|
+
:paramtype status: str or ~ignos.api.client.models.WorkorderStatus
|
|
14506
|
+
:keyword operations:
|
|
14507
|
+
:paramtype operations: list[~ignos.api.client.models.ProductionOrderOperationDto]
|
|
14508
|
+
:keyword planned_start:
|
|
14509
|
+
:paramtype planned_start: ~datetime.datetime
|
|
14510
|
+
:keyword planned_end:
|
|
14511
|
+
:paramtype planned_end: ~datetime.datetime
|
|
14512
|
+
:keyword produced_quantity:
|
|
14513
|
+
:paramtype produced_quantity: float
|
|
14514
|
+
:keyword scrapped_quantity:
|
|
14515
|
+
:paramtype scrapped_quantity: float
|
|
14516
|
+
:keyword planner:
|
|
14517
|
+
:paramtype planner: ~ignos.api.client.models.UserDto
|
|
14518
|
+
:keyword project_leader:
|
|
14519
|
+
:paramtype project_leader: ~ignos.api.client.models.UserDto
|
|
14520
|
+
:keyword end_location:
|
|
14521
|
+
:paramtype end_location: str
|
|
14522
|
+
:keyword project:
|
|
14523
|
+
:paramtype project: ~ignos.api.client.models.WorkOrderProjectDto
|
|
13335
14524
|
:keyword start_date:
|
|
13336
14525
|
:paramtype start_date: ~datetime.datetime
|
|
13337
14526
|
:keyword end_date:
|
|
13338
14527
|
:paramtype end_date: ~datetime.datetime
|
|
13339
|
-
:keyword
|
|
13340
|
-
:paramtype
|
|
13341
|
-
:keyword item_number:
|
|
13342
|
-
:paramtype item_number: str
|
|
13343
|
-
:keyword operations: Required.
|
|
13344
|
-
:paramtype operations: list[~ignos.api.client.models.ProductionOrderOperationDto]
|
|
14528
|
+
:keyword bom_position:
|
|
14529
|
+
:paramtype bom_position: str
|
|
13345
14530
|
"""
|
|
13346
14531
|
super().__init__(**kwargs)
|
|
13347
|
-
self.data_area_id = data_area_id
|
|
13348
14532
|
self.id = id
|
|
14533
|
+
self.company_id = company_id
|
|
14534
|
+
self.part = part
|
|
13349
14535
|
self.quantity = quantity
|
|
14536
|
+
self.unit = unit
|
|
14537
|
+
self.status = status
|
|
14538
|
+
self.operations = operations
|
|
14539
|
+
self.planned_start = planned_start
|
|
14540
|
+
self.planned_end = planned_end
|
|
14541
|
+
self.produced_quantity = produced_quantity
|
|
14542
|
+
self.scrapped_quantity = scrapped_quantity
|
|
14543
|
+
self.planner = planner
|
|
14544
|
+
self.project_leader = project_leader
|
|
14545
|
+
self.end_location = end_location
|
|
14546
|
+
self.project = project
|
|
13350
14547
|
self.start_date = start_date
|
|
13351
14548
|
self.end_date = end_date
|
|
13352
|
-
self.
|
|
13353
|
-
self.item_number = item_number
|
|
13354
|
-
self.operations = operations
|
|
14549
|
+
self.bom_position = bom_position
|
|
13355
14550
|
|
|
13356
14551
|
|
|
13357
|
-
class ProductionOrderOperationDto(_serialization.Model):
|
|
14552
|
+
class ProductionOrderOperationDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
13358
14553
|
"""ProductionOrderOperationDto.
|
|
13359
14554
|
|
|
13360
|
-
:ivar job_id:
|
|
13361
|
-
:vartype job_id: str
|
|
13362
14555
|
:ivar operation:
|
|
13363
14556
|
:vartype operation: int
|
|
13364
|
-
:ivar
|
|
13365
|
-
:vartype
|
|
13366
|
-
:ivar
|
|
13367
|
-
:vartype
|
|
13368
|
-
:ivar
|
|
13369
|
-
:vartype
|
|
14557
|
+
:ivar operation_id:
|
|
14558
|
+
:vartype operation_id: str
|
|
14559
|
+
:ivar description:
|
|
14560
|
+
:vartype description: str
|
|
14561
|
+
:ivar planned_setup_time:
|
|
14562
|
+
:vartype planned_setup_time: float
|
|
14563
|
+
:ivar planned_production_time_per_part:
|
|
14564
|
+
:vartype planned_production_time_per_part: float
|
|
14565
|
+
:ivar fixed_time:
|
|
14566
|
+
:vartype fixed_time: bool
|
|
14567
|
+
:ivar resource:
|
|
14568
|
+
:vartype resource: ~ignos.api.client.models.ResourceDto
|
|
14569
|
+
:ivar planned_start:
|
|
14570
|
+
:vartype planned_start: ~datetime.datetime
|
|
14571
|
+
:ivar planned_end:
|
|
14572
|
+
:vartype planned_end: ~datetime.datetime
|
|
14573
|
+
:ivar status: Known values are: "NotReady", "Ready", "Ongoing", "Completed", and "Stopped".
|
|
14574
|
+
:vartype status: str or ~ignos.api.client.models.OperationStatus
|
|
14575
|
+
:ivar produced_quantity:
|
|
14576
|
+
:vartype produced_quantity: float
|
|
14577
|
+
:ivar scrapped_quantity:
|
|
14578
|
+
:vartype scrapped_quantity: float
|
|
14579
|
+
:ivar quantity:
|
|
14580
|
+
:vartype quantity: float
|
|
14581
|
+
:ivar used_production_time:
|
|
14582
|
+
:vartype used_production_time: float
|
|
14583
|
+
:ivar used_setup_time:
|
|
14584
|
+
:vartype used_setup_time: float
|
|
14585
|
+
:ivar work_instructions:
|
|
14586
|
+
:vartype work_instructions: str
|
|
14587
|
+
:ivar fixture:
|
|
14588
|
+
:vartype fixture: str
|
|
14589
|
+
:ivar program:
|
|
14590
|
+
:vartype program: str
|
|
14591
|
+
:ivar tool_number:
|
|
14592
|
+
:vartype tool_number: str
|
|
13370
14593
|
"""
|
|
13371
14594
|
|
|
13372
14595
|
_attribute_map = {
|
|
13373
|
-
"job_id": {"key": "jobId", "type": "str"},
|
|
13374
14596
|
"operation": {"key": "operation", "type": "int"},
|
|
13375
|
-
"
|
|
13376
|
-
"
|
|
13377
|
-
"
|
|
14597
|
+
"operation_id": {"key": "operationId", "type": "str"},
|
|
14598
|
+
"description": {"key": "description", "type": "str"},
|
|
14599
|
+
"planned_setup_time": {"key": "plannedSetupTime", "type": "float"},
|
|
14600
|
+
"planned_production_time_per_part": {"key": "plannedProductionTimePerPart", "type": "float"},
|
|
14601
|
+
"fixed_time": {"key": "fixedTime", "type": "bool"},
|
|
14602
|
+
"resource": {"key": "resource", "type": "ResourceDto"},
|
|
14603
|
+
"planned_start": {"key": "plannedStart", "type": "iso-8601"},
|
|
14604
|
+
"planned_end": {"key": "plannedEnd", "type": "iso-8601"},
|
|
14605
|
+
"status": {"key": "status", "type": "str"},
|
|
14606
|
+
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
14607
|
+
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
14608
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
14609
|
+
"used_production_time": {"key": "usedProductionTime", "type": "float"},
|
|
14610
|
+
"used_setup_time": {"key": "usedSetupTime", "type": "float"},
|
|
14611
|
+
"work_instructions": {"key": "workInstructions", "type": "str"},
|
|
14612
|
+
"fixture": {"key": "fixture", "type": "str"},
|
|
14613
|
+
"program": {"key": "program", "type": "str"},
|
|
14614
|
+
"tool_number": {"key": "toolNumber", "type": "str"},
|
|
13378
14615
|
}
|
|
13379
14616
|
|
|
13380
14617
|
def __init__(
|
|
13381
14618
|
self,
|
|
13382
14619
|
*,
|
|
13383
|
-
job_id: Optional[str] = None,
|
|
13384
14620
|
operation: Optional[int] = None,
|
|
13385
|
-
|
|
13386
|
-
|
|
13387
|
-
|
|
14621
|
+
operation_id: Optional[str] = None,
|
|
14622
|
+
description: Optional[str] = None,
|
|
14623
|
+
planned_setup_time: Optional[float] = None,
|
|
14624
|
+
planned_production_time_per_part: Optional[float] = None,
|
|
14625
|
+
fixed_time: Optional[bool] = None,
|
|
14626
|
+
resource: Optional["_models.ResourceDto"] = None,
|
|
14627
|
+
planned_start: Optional[datetime.datetime] = None,
|
|
14628
|
+
planned_end: Optional[datetime.datetime] = None,
|
|
14629
|
+
status: Optional[Union[str, "_models.OperationStatus"]] = None,
|
|
14630
|
+
produced_quantity: Optional[float] = None,
|
|
14631
|
+
scrapped_quantity: Optional[float] = None,
|
|
14632
|
+
quantity: Optional[float] = None,
|
|
14633
|
+
used_production_time: Optional[float] = None,
|
|
14634
|
+
used_setup_time: Optional[float] = None,
|
|
14635
|
+
work_instructions: Optional[str] = None,
|
|
14636
|
+
fixture: Optional[str] = None,
|
|
14637
|
+
program: Optional[str] = None,
|
|
14638
|
+
tool_number: Optional[str] = None,
|
|
13388
14639
|
**kwargs: Any
|
|
13389
14640
|
) -> None:
|
|
13390
14641
|
"""
|
|
13391
|
-
:keyword job_id:
|
|
13392
|
-
:paramtype job_id: str
|
|
13393
14642
|
:keyword operation:
|
|
13394
14643
|
:paramtype operation: int
|
|
13395
|
-
:keyword
|
|
13396
|
-
:paramtype
|
|
13397
|
-
:keyword
|
|
13398
|
-
:paramtype
|
|
13399
|
-
:keyword
|
|
13400
|
-
:paramtype
|
|
14644
|
+
:keyword operation_id:
|
|
14645
|
+
:paramtype operation_id: str
|
|
14646
|
+
:keyword description:
|
|
14647
|
+
:paramtype description: str
|
|
14648
|
+
:keyword planned_setup_time:
|
|
14649
|
+
:paramtype planned_setup_time: float
|
|
14650
|
+
:keyword planned_production_time_per_part:
|
|
14651
|
+
:paramtype planned_production_time_per_part: float
|
|
14652
|
+
:keyword fixed_time:
|
|
14653
|
+
:paramtype fixed_time: bool
|
|
14654
|
+
:keyword resource:
|
|
14655
|
+
:paramtype resource: ~ignos.api.client.models.ResourceDto
|
|
14656
|
+
:keyword planned_start:
|
|
14657
|
+
:paramtype planned_start: ~datetime.datetime
|
|
14658
|
+
:keyword planned_end:
|
|
14659
|
+
:paramtype planned_end: ~datetime.datetime
|
|
14660
|
+
:keyword status: Known values are: "NotReady", "Ready", "Ongoing", "Completed", and "Stopped".
|
|
14661
|
+
:paramtype status: str or ~ignos.api.client.models.OperationStatus
|
|
14662
|
+
:keyword produced_quantity:
|
|
14663
|
+
:paramtype produced_quantity: float
|
|
14664
|
+
:keyword scrapped_quantity:
|
|
14665
|
+
:paramtype scrapped_quantity: float
|
|
14666
|
+
:keyword quantity:
|
|
14667
|
+
:paramtype quantity: float
|
|
14668
|
+
:keyword used_production_time:
|
|
14669
|
+
:paramtype used_production_time: float
|
|
14670
|
+
:keyword used_setup_time:
|
|
14671
|
+
:paramtype used_setup_time: float
|
|
14672
|
+
:keyword work_instructions:
|
|
14673
|
+
:paramtype work_instructions: str
|
|
14674
|
+
:keyword fixture:
|
|
14675
|
+
:paramtype fixture: str
|
|
14676
|
+
:keyword program:
|
|
14677
|
+
:paramtype program: str
|
|
14678
|
+
:keyword tool_number:
|
|
14679
|
+
:paramtype tool_number: str
|
|
13401
14680
|
"""
|
|
13402
14681
|
super().__init__(**kwargs)
|
|
13403
|
-
self.job_id = job_id
|
|
13404
14682
|
self.operation = operation
|
|
13405
|
-
self.
|
|
13406
|
-
self.
|
|
13407
|
-
self.
|
|
14683
|
+
self.operation_id = operation_id
|
|
14684
|
+
self.description = description
|
|
14685
|
+
self.planned_setup_time = planned_setup_time
|
|
14686
|
+
self.planned_production_time_per_part = planned_production_time_per_part
|
|
14687
|
+
self.fixed_time = fixed_time
|
|
14688
|
+
self.resource = resource
|
|
14689
|
+
self.planned_start = planned_start
|
|
14690
|
+
self.planned_end = planned_end
|
|
14691
|
+
self.status = status
|
|
14692
|
+
self.produced_quantity = produced_quantity
|
|
14693
|
+
self.scrapped_quantity = scrapped_quantity
|
|
14694
|
+
self.quantity = quantity
|
|
14695
|
+
self.used_production_time = used_production_time
|
|
14696
|
+
self.used_setup_time = used_setup_time
|
|
14697
|
+
self.work_instructions = work_instructions
|
|
14698
|
+
self.fixture = fixture
|
|
14699
|
+
self.program = program
|
|
14700
|
+
self.tool_number = tool_number
|
|
13408
14701
|
|
|
13409
14702
|
|
|
13410
14703
|
class ProductionResourceDto(_serialization.Model):
|
|
@@ -13462,8 +14755,12 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13462
14755
|
:vartype used_hours: float
|
|
13463
14756
|
:ivar quantity: Required.
|
|
13464
14757
|
:vartype quantity: float
|
|
13465
|
-
:ivar
|
|
13466
|
-
:vartype
|
|
14758
|
+
:ivar produced_quantity: Required.
|
|
14759
|
+
:vartype produced_quantity: float
|
|
14760
|
+
:ivar scrapped_quantity: Required.
|
|
14761
|
+
:vartype scrapped_quantity: float
|
|
14762
|
+
:ivar project:
|
|
14763
|
+
:vartype project: ~ignos.api.client.models.WorkOrderProjectDto
|
|
13467
14764
|
:ivar part_number: Required.
|
|
13468
14765
|
:vartype part_number: str
|
|
13469
14766
|
:ivar part_revision:
|
|
@@ -13490,8 +14787,12 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13490
14787
|
:vartype fixture: str
|
|
13491
14788
|
:ivar program:
|
|
13492
14789
|
:vartype program: str
|
|
14790
|
+
:ivar tool_number:
|
|
14791
|
+
:vartype tool_number: str
|
|
13493
14792
|
:ivar prerequisites:
|
|
13494
14793
|
:vartype prerequisites: ~ignos.api.client.models.OperationPrerequisitesDto
|
|
14794
|
+
:ivar end_location:
|
|
14795
|
+
:vartype end_location: str
|
|
13495
14796
|
"""
|
|
13496
14797
|
|
|
13497
14798
|
_validation = {
|
|
@@ -13502,6 +14803,8 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13502
14803
|
"planned_start": {"required": True},
|
|
13503
14804
|
"status": {"required": True, "min_length": 1},
|
|
13504
14805
|
"quantity": {"required": True},
|
|
14806
|
+
"produced_quantity": {"required": True},
|
|
14807
|
+
"scrapped_quantity": {"required": True},
|
|
13505
14808
|
"part_number": {"required": True, "min_length": 1},
|
|
13506
14809
|
"resource_id": {"required": True, "min_length": 1},
|
|
13507
14810
|
"resource_name": {"required": True, "min_length": 1},
|
|
@@ -13517,7 +14820,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13517
14820
|
"planned_hours": {"key": "plannedHours", "type": "float"},
|
|
13518
14821
|
"used_hours": {"key": "usedHours", "type": "float"},
|
|
13519
14822
|
"quantity": {"key": "quantity", "type": "float"},
|
|
13520
|
-
"
|
|
14823
|
+
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
14824
|
+
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
14825
|
+
"project": {"key": "project", "type": "WorkOrderProjectDto"},
|
|
13521
14826
|
"part_number": {"key": "partNumber", "type": "str"},
|
|
13522
14827
|
"part_revision": {"key": "partRevision", "type": "str"},
|
|
13523
14828
|
"part_name": {"key": "partName", "type": "str"},
|
|
@@ -13531,7 +14836,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13531
14836
|
"description": {"key": "description", "type": "str"},
|
|
13532
14837
|
"fixture": {"key": "fixture", "type": "str"},
|
|
13533
14838
|
"program": {"key": "program", "type": "str"},
|
|
14839
|
+
"tool_number": {"key": "toolNumber", "type": "str"},
|
|
13534
14840
|
"prerequisites": {"key": "prerequisites", "type": "OperationPrerequisitesDto"},
|
|
14841
|
+
"end_location": {"key": "endLocation", "type": "str"},
|
|
13535
14842
|
}
|
|
13536
14843
|
|
|
13537
14844
|
def __init__( # pylint: disable=too-many-locals
|
|
@@ -13544,12 +14851,14 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13544
14851
|
planned_start: datetime.datetime,
|
|
13545
14852
|
status: str,
|
|
13546
14853
|
quantity: float,
|
|
14854
|
+
produced_quantity: float,
|
|
14855
|
+
scrapped_quantity: float,
|
|
13547
14856
|
part_number: str,
|
|
13548
14857
|
resource_id: str,
|
|
13549
14858
|
resource_name: str,
|
|
13550
14859
|
planned_hours: Optional[float] = None,
|
|
13551
14860
|
used_hours: Optional[float] = None,
|
|
13552
|
-
|
|
14861
|
+
project: Optional["_models.WorkOrderProjectDto"] = None,
|
|
13553
14862
|
part_revision: Optional[str] = None,
|
|
13554
14863
|
part_name: Optional[str] = None,
|
|
13555
14864
|
bom_position: Optional[str] = None,
|
|
@@ -13560,7 +14869,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13560
14869
|
description: Optional[str] = None,
|
|
13561
14870
|
fixture: Optional[str] = None,
|
|
13562
14871
|
program: Optional[str] = None,
|
|
14872
|
+
tool_number: Optional[str] = None,
|
|
13563
14873
|
prerequisites: Optional["_models.OperationPrerequisitesDto"] = None,
|
|
14874
|
+
end_location: Optional[str] = None,
|
|
13564
14875
|
**kwargs: Any
|
|
13565
14876
|
) -> None:
|
|
13566
14877
|
"""
|
|
@@ -13582,8 +14893,12 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13582
14893
|
:paramtype used_hours: float
|
|
13583
14894
|
:keyword quantity: Required.
|
|
13584
14895
|
:paramtype quantity: float
|
|
13585
|
-
:keyword
|
|
13586
|
-
:paramtype
|
|
14896
|
+
:keyword produced_quantity: Required.
|
|
14897
|
+
:paramtype produced_quantity: float
|
|
14898
|
+
:keyword scrapped_quantity: Required.
|
|
14899
|
+
:paramtype scrapped_quantity: float
|
|
14900
|
+
:keyword project:
|
|
14901
|
+
:paramtype project: ~ignos.api.client.models.WorkOrderProjectDto
|
|
13587
14902
|
:keyword part_number: Required.
|
|
13588
14903
|
:paramtype part_number: str
|
|
13589
14904
|
:keyword part_revision:
|
|
@@ -13610,8 +14925,12 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13610
14925
|
:paramtype fixture: str
|
|
13611
14926
|
:keyword program:
|
|
13612
14927
|
:paramtype program: str
|
|
14928
|
+
:keyword tool_number:
|
|
14929
|
+
:paramtype tool_number: str
|
|
13613
14930
|
:keyword prerequisites:
|
|
13614
14931
|
:paramtype prerequisites: ~ignos.api.client.models.OperationPrerequisitesDto
|
|
14932
|
+
:keyword end_location:
|
|
14933
|
+
:paramtype end_location: str
|
|
13615
14934
|
"""
|
|
13616
14935
|
super().__init__(**kwargs)
|
|
13617
14936
|
self.id = id
|
|
@@ -13623,7 +14942,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13623
14942
|
self.planned_hours = planned_hours
|
|
13624
14943
|
self.used_hours = used_hours
|
|
13625
14944
|
self.quantity = quantity
|
|
13626
|
-
self.
|
|
14945
|
+
self.produced_quantity = produced_quantity
|
|
14946
|
+
self.scrapped_quantity = scrapped_quantity
|
|
14947
|
+
self.project = project
|
|
13627
14948
|
self.part_number = part_number
|
|
13628
14949
|
self.part_revision = part_revision
|
|
13629
14950
|
self.part_name = part_name
|
|
@@ -13637,7 +14958,9 @@ class ProductionScheduleOperationDto(_serialization.Model): # pylint: disable=t
|
|
|
13637
14958
|
self.description = description
|
|
13638
14959
|
self.fixture = fixture
|
|
13639
14960
|
self.program = program
|
|
14961
|
+
self.tool_number = tool_number
|
|
13640
14962
|
self.prerequisites = prerequisites
|
|
14963
|
+
self.end_location = end_location
|
|
13641
14964
|
|
|
13642
14965
|
|
|
13643
14966
|
class RegisterMeasuringToolCalibrationRequest(_serialization.Model):
|
|
@@ -15348,6 +16671,10 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15348
16671
|
:vartype resource_id: str
|
|
15349
16672
|
:ivar resource_name: Required.
|
|
15350
16673
|
:vartype resource_name: str
|
|
16674
|
+
:ivar produced_quantity: Required.
|
|
16675
|
+
:vartype produced_quantity: float
|
|
16676
|
+
:ivar scrapped_quantity: Required.
|
|
16677
|
+
:vartype scrapped_quantity: float
|
|
15351
16678
|
"""
|
|
15352
16679
|
|
|
15353
16680
|
_validation = {
|
|
@@ -15358,6 +16685,8 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15358
16685
|
"status": {"required": True, "min_length": 1},
|
|
15359
16686
|
"resource_id": {"required": True, "min_length": 1},
|
|
15360
16687
|
"resource_name": {"required": True, "min_length": 1},
|
|
16688
|
+
"produced_quantity": {"required": True},
|
|
16689
|
+
"scrapped_quantity": {"required": True},
|
|
15361
16690
|
}
|
|
15362
16691
|
|
|
15363
16692
|
_attribute_map = {
|
|
@@ -15369,6 +16698,8 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15369
16698
|
"status": {"key": "status", "type": "str"},
|
|
15370
16699
|
"resource_id": {"key": "resourceId", "type": "str"},
|
|
15371
16700
|
"resource_name": {"key": "resourceName", "type": "str"},
|
|
16701
|
+
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
16702
|
+
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
15372
16703
|
}
|
|
15373
16704
|
|
|
15374
16705
|
def __init__(
|
|
@@ -15381,6 +16712,8 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15381
16712
|
status: str,
|
|
15382
16713
|
resource_id: str,
|
|
15383
16714
|
resource_name: str,
|
|
16715
|
+
produced_quantity: float,
|
|
16716
|
+
scrapped_quantity: float,
|
|
15384
16717
|
planned_end: Optional[datetime.datetime] = None,
|
|
15385
16718
|
**kwargs: Any
|
|
15386
16719
|
) -> None:
|
|
@@ -15401,6 +16734,10 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15401
16734
|
:paramtype resource_id: str
|
|
15402
16735
|
:keyword resource_name: Required.
|
|
15403
16736
|
:paramtype resource_name: str
|
|
16737
|
+
:keyword produced_quantity: Required.
|
|
16738
|
+
:paramtype produced_quantity: float
|
|
16739
|
+
:keyword scrapped_quantity: Required.
|
|
16740
|
+
:paramtype scrapped_quantity: float
|
|
15404
16741
|
"""
|
|
15405
16742
|
super().__init__(**kwargs)
|
|
15406
16743
|
self.id = id
|
|
@@ -15411,6 +16748,8 @@ class SurroundingOperationDto(_serialization.Model):
|
|
|
15411
16748
|
self.status = status
|
|
15412
16749
|
self.resource_id = resource_id
|
|
15413
16750
|
self.resource_name = resource_name
|
|
16751
|
+
self.produced_quantity = produced_quantity
|
|
16752
|
+
self.scrapped_quantity = scrapped_quantity
|
|
15414
16753
|
|
|
15415
16754
|
|
|
15416
16755
|
class SustainabilityCustomerOrderDto(_serialization.Model):
|
|
@@ -15619,6 +16958,296 @@ class SustainabilityPartInfoDto(_serialization.Model):
|
|
|
15619
16958
|
self.part_name = part_name
|
|
15620
16959
|
|
|
15621
16960
|
|
|
16961
|
+
class TraceDto(_serialization.Model):
|
|
16962
|
+
"""TraceDto.
|
|
16963
|
+
|
|
16964
|
+
All required parameters must be populated in order to send to Azure.
|
|
16965
|
+
|
|
16966
|
+
:ivar id: Required.
|
|
16967
|
+
:vartype id: str
|
|
16968
|
+
:ivar user:
|
|
16969
|
+
:vartype user: ~ignos.api.client.models.UserDto
|
|
16970
|
+
:ivar last_changed:
|
|
16971
|
+
:vartype last_changed: ~datetime.datetime
|
|
16972
|
+
:ivar part: Required.
|
|
16973
|
+
:vartype part: ~ignos.api.client.models.PartDto
|
|
16974
|
+
:ivar items: Required.
|
|
16975
|
+
:vartype items: list[~ignos.api.client.models.TraceItemDto]
|
|
16976
|
+
:ivar override_material_details:
|
|
16977
|
+
:vartype override_material_details: list[~ignos.api.client.models.TraceMaterialDetailDto]
|
|
16978
|
+
"""
|
|
16979
|
+
|
|
16980
|
+
_validation = {
|
|
16981
|
+
"id": {"required": True, "min_length": 1},
|
|
16982
|
+
"part": {"required": True},
|
|
16983
|
+
"items": {"required": True},
|
|
16984
|
+
}
|
|
16985
|
+
|
|
16986
|
+
_attribute_map = {
|
|
16987
|
+
"id": {"key": "id", "type": "str"},
|
|
16988
|
+
"user": {"key": "user", "type": "UserDto"},
|
|
16989
|
+
"last_changed": {"key": "lastChanged", "type": "iso-8601"},
|
|
16990
|
+
"part": {"key": "part", "type": "PartDto"},
|
|
16991
|
+
"items": {"key": "items", "type": "[TraceItemDto]"},
|
|
16992
|
+
"override_material_details": {"key": "overrideMaterialDetails", "type": "[TraceMaterialDetailDto]"},
|
|
16993
|
+
}
|
|
16994
|
+
|
|
16995
|
+
def __init__(
|
|
16996
|
+
self,
|
|
16997
|
+
*,
|
|
16998
|
+
id: str, # pylint: disable=redefined-builtin
|
|
16999
|
+
part: "_models.PartDto",
|
|
17000
|
+
items: List["_models.TraceItemDto"],
|
|
17001
|
+
user: Optional["_models.UserDto"] = None,
|
|
17002
|
+
last_changed: Optional[datetime.datetime] = None,
|
|
17003
|
+
override_material_details: Optional[List["_models.TraceMaterialDetailDto"]] = None,
|
|
17004
|
+
**kwargs: Any
|
|
17005
|
+
) -> None:
|
|
17006
|
+
"""
|
|
17007
|
+
:keyword id: Required.
|
|
17008
|
+
:paramtype id: str
|
|
17009
|
+
:keyword user:
|
|
17010
|
+
:paramtype user: ~ignos.api.client.models.UserDto
|
|
17011
|
+
:keyword last_changed:
|
|
17012
|
+
:paramtype last_changed: ~datetime.datetime
|
|
17013
|
+
:keyword part: Required.
|
|
17014
|
+
:paramtype part: ~ignos.api.client.models.PartDto
|
|
17015
|
+
:keyword items: Required.
|
|
17016
|
+
:paramtype items: list[~ignos.api.client.models.TraceItemDto]
|
|
17017
|
+
:keyword override_material_details:
|
|
17018
|
+
:paramtype override_material_details: list[~ignos.api.client.models.TraceMaterialDetailDto]
|
|
17019
|
+
"""
|
|
17020
|
+
super().__init__(**kwargs)
|
|
17021
|
+
self.id = id
|
|
17022
|
+
self.user = user
|
|
17023
|
+
self.last_changed = last_changed
|
|
17024
|
+
self.part = part
|
|
17025
|
+
self.items = items
|
|
17026
|
+
self.override_material_details = override_material_details
|
|
17027
|
+
|
|
17028
|
+
|
|
17029
|
+
class TraceItemConsumptionDto(_serialization.Model):
|
|
17030
|
+
"""TraceItemConsumptionDto.
|
|
17031
|
+
|
|
17032
|
+
:ivar source_work_order:
|
|
17033
|
+
:vartype source_work_order: str
|
|
17034
|
+
:ivar source_sequence:
|
|
17035
|
+
:vartype source_sequence: str
|
|
17036
|
+
:ivar trace_number:
|
|
17037
|
+
:vartype trace_number: str
|
|
17038
|
+
:ivar heat:
|
|
17039
|
+
:vartype heat: str
|
|
17040
|
+
:ivar quantity_used:
|
|
17041
|
+
:vartype quantity_used: float
|
|
17042
|
+
"""
|
|
17043
|
+
|
|
17044
|
+
_attribute_map = {
|
|
17045
|
+
"source_work_order": {"key": "sourceWorkOrder", "type": "str"},
|
|
17046
|
+
"source_sequence": {"key": "sourceSequence", "type": "str"},
|
|
17047
|
+
"trace_number": {"key": "traceNumber", "type": "str"},
|
|
17048
|
+
"heat": {"key": "heat", "type": "str"},
|
|
17049
|
+
"quantity_used": {"key": "quantityUsed", "type": "float"},
|
|
17050
|
+
}
|
|
17051
|
+
|
|
17052
|
+
def __init__(
|
|
17053
|
+
self,
|
|
17054
|
+
*,
|
|
17055
|
+
source_work_order: Optional[str] = None,
|
|
17056
|
+
source_sequence: Optional[str] = None,
|
|
17057
|
+
trace_number: Optional[str] = None,
|
|
17058
|
+
heat: Optional[str] = None,
|
|
17059
|
+
quantity_used: Optional[float] = None,
|
|
17060
|
+
**kwargs: Any
|
|
17061
|
+
) -> None:
|
|
17062
|
+
"""
|
|
17063
|
+
:keyword source_work_order:
|
|
17064
|
+
:paramtype source_work_order: str
|
|
17065
|
+
:keyword source_sequence:
|
|
17066
|
+
:paramtype source_sequence: str
|
|
17067
|
+
:keyword trace_number:
|
|
17068
|
+
:paramtype trace_number: str
|
|
17069
|
+
:keyword heat:
|
|
17070
|
+
:paramtype heat: str
|
|
17071
|
+
:keyword quantity_used:
|
|
17072
|
+
:paramtype quantity_used: float
|
|
17073
|
+
"""
|
|
17074
|
+
super().__init__(**kwargs)
|
|
17075
|
+
self.source_work_order = source_work_order
|
|
17076
|
+
self.source_sequence = source_sequence
|
|
17077
|
+
self.trace_number = trace_number
|
|
17078
|
+
self.heat = heat
|
|
17079
|
+
self.quantity_used = quantity_used
|
|
17080
|
+
|
|
17081
|
+
|
|
17082
|
+
class TraceItemDto(_serialization.Model):
|
|
17083
|
+
"""TraceItemDto.
|
|
17084
|
+
|
|
17085
|
+
All required parameters must be populated in order to send to Azure.
|
|
17086
|
+
|
|
17087
|
+
:ivar sequence: Required.
|
|
17088
|
+
:vartype sequence: str
|
|
17089
|
+
:ivar serial_number:
|
|
17090
|
+
:vartype serial_number: str
|
|
17091
|
+
:ivar status: Required. Known values are: "None", "OK", and "Scrap".
|
|
17092
|
+
:vartype status: str or ~ignos.api.client.models.TraceItemStatus
|
|
17093
|
+
:ivar quantity: Required.
|
|
17094
|
+
:vartype quantity: float
|
|
17095
|
+
:ivar materials: Required.
|
|
17096
|
+
:vartype materials: list[~ignos.api.client.models.TraceListItemDto]
|
|
17097
|
+
"""
|
|
17098
|
+
|
|
17099
|
+
_validation = {
|
|
17100
|
+
"sequence": {"required": True, "min_length": 1},
|
|
17101
|
+
"status": {"required": True},
|
|
17102
|
+
"quantity": {"required": True},
|
|
17103
|
+
"materials": {"required": True},
|
|
17104
|
+
}
|
|
17105
|
+
|
|
17106
|
+
_attribute_map = {
|
|
17107
|
+
"sequence": {"key": "sequence", "type": "str"},
|
|
17108
|
+
"serial_number": {"key": "serialNumber", "type": "str"},
|
|
17109
|
+
"status": {"key": "status", "type": "str"},
|
|
17110
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
17111
|
+
"materials": {"key": "materials", "type": "[TraceListItemDto]"},
|
|
17112
|
+
}
|
|
17113
|
+
|
|
17114
|
+
def __init__(
|
|
17115
|
+
self,
|
|
17116
|
+
*,
|
|
17117
|
+
sequence: str,
|
|
17118
|
+
status: Union[str, "_models.TraceItemStatus"],
|
|
17119
|
+
quantity: float,
|
|
17120
|
+
materials: List["_models.TraceListItemDto"],
|
|
17121
|
+
serial_number: Optional[str] = None,
|
|
17122
|
+
**kwargs: Any
|
|
17123
|
+
) -> None:
|
|
17124
|
+
"""
|
|
17125
|
+
:keyword sequence: Required.
|
|
17126
|
+
:paramtype sequence: str
|
|
17127
|
+
:keyword serial_number:
|
|
17128
|
+
:paramtype serial_number: str
|
|
17129
|
+
:keyword status: Required. Known values are: "None", "OK", and "Scrap".
|
|
17130
|
+
:paramtype status: str or ~ignos.api.client.models.TraceItemStatus
|
|
17131
|
+
:keyword quantity: Required.
|
|
17132
|
+
:paramtype quantity: float
|
|
17133
|
+
:keyword materials: Required.
|
|
17134
|
+
:paramtype materials: list[~ignos.api.client.models.TraceListItemDto]
|
|
17135
|
+
"""
|
|
17136
|
+
super().__init__(**kwargs)
|
|
17137
|
+
self.sequence = sequence
|
|
17138
|
+
self.serial_number = serial_number
|
|
17139
|
+
self.status = status
|
|
17140
|
+
self.quantity = quantity
|
|
17141
|
+
self.materials = materials
|
|
17142
|
+
|
|
17143
|
+
|
|
17144
|
+
class TraceListItemDto(_serialization.Model):
|
|
17145
|
+
"""TraceListItemDto.
|
|
17146
|
+
|
|
17147
|
+
:ivar material_line:
|
|
17148
|
+
:vartype material_line: int
|
|
17149
|
+
:ivar operation:
|
|
17150
|
+
:vartype operation: int
|
|
17151
|
+
:ivar material_quantity:
|
|
17152
|
+
:vartype material_quantity: float
|
|
17153
|
+
:ivar part_number:
|
|
17154
|
+
:vartype part_number: str
|
|
17155
|
+
:ivar consumptions:
|
|
17156
|
+
:vartype consumptions: list[~ignos.api.client.models.TraceItemConsumptionDto]
|
|
17157
|
+
"""
|
|
17158
|
+
|
|
17159
|
+
_attribute_map = {
|
|
17160
|
+
"material_line": {"key": "materialLine", "type": "int"},
|
|
17161
|
+
"operation": {"key": "operation", "type": "int"},
|
|
17162
|
+
"material_quantity": {"key": "materialQuantity", "type": "float"},
|
|
17163
|
+
"part_number": {"key": "partNumber", "type": "str"},
|
|
17164
|
+
"consumptions": {"key": "consumptions", "type": "[TraceItemConsumptionDto]"},
|
|
17165
|
+
}
|
|
17166
|
+
|
|
17167
|
+
def __init__(
|
|
17168
|
+
self,
|
|
17169
|
+
*,
|
|
17170
|
+
material_line: Optional[int] = None,
|
|
17171
|
+
operation: Optional[int] = None,
|
|
17172
|
+
material_quantity: Optional[float] = None,
|
|
17173
|
+
part_number: Optional[str] = None,
|
|
17174
|
+
consumptions: Optional[List["_models.TraceItemConsumptionDto"]] = None,
|
|
17175
|
+
**kwargs: Any
|
|
17176
|
+
) -> None:
|
|
17177
|
+
"""
|
|
17178
|
+
:keyword material_line:
|
|
17179
|
+
:paramtype material_line: int
|
|
17180
|
+
:keyword operation:
|
|
17181
|
+
:paramtype operation: int
|
|
17182
|
+
:keyword material_quantity:
|
|
17183
|
+
:paramtype material_quantity: float
|
|
17184
|
+
:keyword part_number:
|
|
17185
|
+
:paramtype part_number: str
|
|
17186
|
+
:keyword consumptions:
|
|
17187
|
+
:paramtype consumptions: list[~ignos.api.client.models.TraceItemConsumptionDto]
|
|
17188
|
+
"""
|
|
17189
|
+
super().__init__(**kwargs)
|
|
17190
|
+
self.material_line = material_line
|
|
17191
|
+
self.operation = operation
|
|
17192
|
+
self.material_quantity = material_quantity
|
|
17193
|
+
self.part_number = part_number
|
|
17194
|
+
self.consumptions = consumptions
|
|
17195
|
+
|
|
17196
|
+
|
|
17197
|
+
class TraceMaterialDetailDto(_serialization.Model):
|
|
17198
|
+
"""TraceMaterialDetailDto.
|
|
17199
|
+
|
|
17200
|
+
All required parameters must be populated in order to send to Azure.
|
|
17201
|
+
|
|
17202
|
+
:ivar material_line: Required.
|
|
17203
|
+
:vartype material_line: int
|
|
17204
|
+
:ivar operation:
|
|
17205
|
+
:vartype operation: int
|
|
17206
|
+
:ivar material_part_number: Required.
|
|
17207
|
+
:vartype material_part_number: str
|
|
17208
|
+
:ivar status: Required. Known values are: "None", "ForceInclude", and "Exclude".
|
|
17209
|
+
:vartype status: str or ~ignos.api.client.models.TraceIncludeStatus
|
|
17210
|
+
"""
|
|
17211
|
+
|
|
17212
|
+
_validation = {
|
|
17213
|
+
"material_line": {"required": True},
|
|
17214
|
+
"material_part_number": {"required": True, "min_length": 1},
|
|
17215
|
+
"status": {"required": True},
|
|
17216
|
+
}
|
|
17217
|
+
|
|
17218
|
+
_attribute_map = {
|
|
17219
|
+
"material_line": {"key": "materialLine", "type": "int"},
|
|
17220
|
+
"operation": {"key": "operation", "type": "int"},
|
|
17221
|
+
"material_part_number": {"key": "materialPartNumber", "type": "str"},
|
|
17222
|
+
"status": {"key": "status", "type": "str"},
|
|
17223
|
+
}
|
|
17224
|
+
|
|
17225
|
+
def __init__(
|
|
17226
|
+
self,
|
|
17227
|
+
*,
|
|
17228
|
+
material_line: int,
|
|
17229
|
+
material_part_number: str,
|
|
17230
|
+
status: Union[str, "_models.TraceIncludeStatus"],
|
|
17231
|
+
operation: Optional[int] = None,
|
|
17232
|
+
**kwargs: Any
|
|
17233
|
+
) -> None:
|
|
17234
|
+
"""
|
|
17235
|
+
:keyword material_line: Required.
|
|
17236
|
+
:paramtype material_line: int
|
|
17237
|
+
:keyword operation:
|
|
17238
|
+
:paramtype operation: int
|
|
17239
|
+
:keyword material_part_number: Required.
|
|
17240
|
+
:paramtype material_part_number: str
|
|
17241
|
+
:keyword status: Required. Known values are: "None", "ForceInclude", and "Exclude".
|
|
17242
|
+
:paramtype status: str or ~ignos.api.client.models.TraceIncludeStatus
|
|
17243
|
+
"""
|
|
17244
|
+
super().__init__(**kwargs)
|
|
17245
|
+
self.material_line = material_line
|
|
17246
|
+
self.operation = operation
|
|
17247
|
+
self.material_part_number = material_part_number
|
|
17248
|
+
self.status = status
|
|
17249
|
+
|
|
17250
|
+
|
|
15622
17251
|
class UnregisteredToolValueDto(_serialization.Model):
|
|
15623
17252
|
"""UnregisteredToolValueDto.
|
|
15624
17253
|
|
|
@@ -16777,26 +18406,93 @@ class UpdateMeasuringToolTypeRequest(_serialization.Model):
|
|
|
16777
18406
|
"""
|
|
16778
18407
|
|
|
16779
18408
|
_attribute_map = {
|
|
16780
|
-
"calibration_interval": {"key": "calibrationInterval", "type": "int"},
|
|
16781
|
-
"max_number_of_usages_between_calibration": {"key": "maxNumberOfUsagesBetweenCalibration", "type": "int"},
|
|
18409
|
+
"calibration_interval": {"key": "calibrationInterval", "type": "int"},
|
|
18410
|
+
"max_number_of_usages_between_calibration": {"key": "maxNumberOfUsagesBetweenCalibration", "type": "int"},
|
|
18411
|
+
}
|
|
18412
|
+
|
|
18413
|
+
def __init__(
|
|
18414
|
+
self,
|
|
18415
|
+
*,
|
|
18416
|
+
calibration_interval: Optional[int] = None,
|
|
18417
|
+
max_number_of_usages_between_calibration: Optional[int] = None,
|
|
18418
|
+
**kwargs: Any
|
|
18419
|
+
) -> None:
|
|
18420
|
+
"""
|
|
18421
|
+
:keyword calibration_interval:
|
|
18422
|
+
:paramtype calibration_interval: int
|
|
18423
|
+
:keyword max_number_of_usages_between_calibration:
|
|
18424
|
+
:paramtype max_number_of_usages_between_calibration: int
|
|
18425
|
+
"""
|
|
18426
|
+
super().__init__(**kwargs)
|
|
18427
|
+
self.calibration_interval = calibration_interval
|
|
18428
|
+
self.max_number_of_usages_between_calibration = max_number_of_usages_between_calibration
|
|
18429
|
+
|
|
18430
|
+
|
|
18431
|
+
class UpdateMrbTemplateRequest(_serialization.Model):
|
|
18432
|
+
"""UpdateMrbTemplateRequest.
|
|
18433
|
+
|
|
18434
|
+
:ivar id:
|
|
18435
|
+
:vartype id: str
|
|
18436
|
+
:ivar title:
|
|
18437
|
+
:vartype title: str
|
|
18438
|
+
:ivar customer_id:
|
|
18439
|
+
:vartype customer_id: str
|
|
18440
|
+
:ivar customer_group_id:
|
|
18441
|
+
:vartype customer_group_id: str
|
|
18442
|
+
:ivar customer_name:
|
|
18443
|
+
:vartype customer_name: str
|
|
18444
|
+
:ivar url:
|
|
18445
|
+
:vartype url: str
|
|
18446
|
+
:ivar elements:
|
|
18447
|
+
:vartype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
18448
|
+
"""
|
|
18449
|
+
|
|
18450
|
+
_attribute_map = {
|
|
18451
|
+
"id": {"key": "id", "type": "str"},
|
|
18452
|
+
"title": {"key": "title", "type": "str"},
|
|
18453
|
+
"customer_id": {"key": "customerId", "type": "str"},
|
|
18454
|
+
"customer_group_id": {"key": "customerGroupId", "type": "str"},
|
|
18455
|
+
"customer_name": {"key": "customerName", "type": "str"},
|
|
18456
|
+
"url": {"key": "url", "type": "str"},
|
|
18457
|
+
"elements": {"key": "elements", "type": "[MrbTemplateElementDto]"},
|
|
16782
18458
|
}
|
|
16783
18459
|
|
|
16784
18460
|
def __init__(
|
|
16785
18461
|
self,
|
|
16786
18462
|
*,
|
|
16787
|
-
|
|
16788
|
-
|
|
18463
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
18464
|
+
title: Optional[str] = None,
|
|
18465
|
+
customer_id: Optional[str] = None,
|
|
18466
|
+
customer_group_id: Optional[str] = None,
|
|
18467
|
+
customer_name: Optional[str] = None,
|
|
18468
|
+
url: Optional[str] = None,
|
|
18469
|
+
elements: Optional[List["_models.MrbTemplateElementDto"]] = None,
|
|
16789
18470
|
**kwargs: Any
|
|
16790
18471
|
) -> None:
|
|
16791
18472
|
"""
|
|
16792
|
-
:keyword
|
|
16793
|
-
:paramtype
|
|
16794
|
-
:keyword
|
|
16795
|
-
:paramtype
|
|
18473
|
+
:keyword id:
|
|
18474
|
+
:paramtype id: str
|
|
18475
|
+
:keyword title:
|
|
18476
|
+
:paramtype title: str
|
|
18477
|
+
:keyword customer_id:
|
|
18478
|
+
:paramtype customer_id: str
|
|
18479
|
+
:keyword customer_group_id:
|
|
18480
|
+
:paramtype customer_group_id: str
|
|
18481
|
+
:keyword customer_name:
|
|
18482
|
+
:paramtype customer_name: str
|
|
18483
|
+
:keyword url:
|
|
18484
|
+
:paramtype url: str
|
|
18485
|
+
:keyword elements:
|
|
18486
|
+
:paramtype elements: list[~ignos.api.client.models.MrbTemplateElementDto]
|
|
16796
18487
|
"""
|
|
16797
18488
|
super().__init__(**kwargs)
|
|
16798
|
-
self.
|
|
16799
|
-
self.
|
|
18489
|
+
self.id = id
|
|
18490
|
+
self.title = title
|
|
18491
|
+
self.customer_id = customer_id
|
|
18492
|
+
self.customer_group_id = customer_group_id
|
|
18493
|
+
self.customer_name = customer_name
|
|
18494
|
+
self.url = url
|
|
18495
|
+
self.elements = elements
|
|
16800
18496
|
|
|
16801
18497
|
|
|
16802
18498
|
class UpdateSchemaGroupedElementDto(_serialization.Model):
|
|
@@ -17621,6 +19317,32 @@ class UpsertWorkorder(_serialization.Model): # pylint: disable=too-many-instanc
|
|
|
17621
19317
|
self.customer_order_reference = customer_order_reference
|
|
17622
19318
|
|
|
17623
19319
|
|
|
19320
|
+
class UpsertWorkOrderConsumptionsRequest(_serialization.Model):
|
|
19321
|
+
"""UpsertWorkOrderConsumptionsRequest.
|
|
19322
|
+
|
|
19323
|
+
All required parameters must be populated in order to send to Azure.
|
|
19324
|
+
|
|
19325
|
+
:ivar material_consumptions: Required.
|
|
19326
|
+
:vartype material_consumptions: list[~ignos.api.client.models.MaterialConsumptionDto]
|
|
19327
|
+
"""
|
|
19328
|
+
|
|
19329
|
+
_validation = {
|
|
19330
|
+
"material_consumptions": {"required": True},
|
|
19331
|
+
}
|
|
19332
|
+
|
|
19333
|
+
_attribute_map = {
|
|
19334
|
+
"material_consumptions": {"key": "materialConsumptions", "type": "[MaterialConsumptionDto]"},
|
|
19335
|
+
}
|
|
19336
|
+
|
|
19337
|
+
def __init__(self, *, material_consumptions: List["_models.MaterialConsumptionDto"], **kwargs: Any) -> None:
|
|
19338
|
+
"""
|
|
19339
|
+
:keyword material_consumptions: Required.
|
|
19340
|
+
:paramtype material_consumptions: list[~ignos.api.client.models.MaterialConsumptionDto]
|
|
19341
|
+
"""
|
|
19342
|
+
super().__init__(**kwargs)
|
|
19343
|
+
self.material_consumptions = material_consumptions
|
|
19344
|
+
|
|
19345
|
+
|
|
17624
19346
|
class UpsertWorkorderTracesRequest(_serialization.Model):
|
|
17625
19347
|
"""UpsertWorkorderTracesRequest.
|
|
17626
19348
|
|
|
@@ -17647,6 +19369,177 @@ class UpsertWorkorderTracesRequest(_serialization.Model):
|
|
|
17647
19369
|
self.traces = traces
|
|
17648
19370
|
|
|
17649
19371
|
|
|
19372
|
+
class UpsertWorkorderV2(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
19373
|
+
"""UpsertWorkorderV2.
|
|
19374
|
+
|
|
19375
|
+
All required parameters must be populated in order to send to Azure.
|
|
19376
|
+
|
|
19377
|
+
:ivar work_order: Required.
|
|
19378
|
+
:vartype work_order: str
|
|
19379
|
+
:ivar company_id:
|
|
19380
|
+
:vartype company_id: str
|
|
19381
|
+
:ivar part: Required.
|
|
19382
|
+
:vartype part: ~ignos.api.client.models.PartDto
|
|
19383
|
+
:ivar quantity: Required.
|
|
19384
|
+
:vartype quantity: float
|
|
19385
|
+
:ivar unit:
|
|
19386
|
+
:vartype unit: str
|
|
19387
|
+
:ivar status: Required. Known values are: "Draft", "Ready", "Ongoing", "Completed", and
|
|
19388
|
+
"Deleted".
|
|
19389
|
+
:vartype status: str or ~ignos.api.client.models.WorkorderStatus
|
|
19390
|
+
:ivar operations: Required.
|
|
19391
|
+
:vartype operations: list[~ignos.api.client.models.WorkorderOperationDto]
|
|
19392
|
+
:ivar planned_start:
|
|
19393
|
+
:vartype planned_start: ~datetime.datetime
|
|
19394
|
+
:ivar planned_end:
|
|
19395
|
+
:vartype planned_end: ~datetime.datetime
|
|
19396
|
+
:ivar produced_quantity:
|
|
19397
|
+
:vartype produced_quantity: float
|
|
19398
|
+
:ivar scrapped_quantity:
|
|
19399
|
+
:vartype scrapped_quantity: float
|
|
19400
|
+
:ivar customer_order_reference:
|
|
19401
|
+
:vartype customer_order_reference: ~ignos.api.client.models.WorkorderCustomerOrderReferenceDto
|
|
19402
|
+
:ivar planner:
|
|
19403
|
+
:vartype planner: ~ignos.api.client.models.UserDto
|
|
19404
|
+
:ivar project_leader:
|
|
19405
|
+
:vartype project_leader: ~ignos.api.client.models.UserDto
|
|
19406
|
+
:ivar end_location:
|
|
19407
|
+
:vartype end_location: str
|
|
19408
|
+
:ivar project:
|
|
19409
|
+
:vartype project: ~ignos.api.client.models.WorkOrderProject
|
|
19410
|
+
:ivar start_date:
|
|
19411
|
+
:vartype start_date: ~datetime.datetime
|
|
19412
|
+
:ivar end_date:
|
|
19413
|
+
:vartype end_date: ~datetime.datetime
|
|
19414
|
+
:ivar bom_position:
|
|
19415
|
+
:vartype bom_position: str
|
|
19416
|
+
:ivar trace_type: Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
19417
|
+
:vartype trace_type: str or ~ignos.api.client.models.TraceType
|
|
19418
|
+
"""
|
|
19419
|
+
|
|
19420
|
+
_validation = {
|
|
19421
|
+
"work_order": {"required": True, "min_length": 1},
|
|
19422
|
+
"part": {"required": True},
|
|
19423
|
+
"quantity": {"required": True},
|
|
19424
|
+
"status": {"required": True},
|
|
19425
|
+
"operations": {"required": True},
|
|
19426
|
+
}
|
|
19427
|
+
|
|
19428
|
+
_attribute_map = {
|
|
19429
|
+
"work_order": {"key": "workOrder", "type": "str"},
|
|
19430
|
+
"company_id": {"key": "companyId", "type": "str"},
|
|
19431
|
+
"part": {"key": "part", "type": "PartDto"},
|
|
19432
|
+
"quantity": {"key": "quantity", "type": "float"},
|
|
19433
|
+
"unit": {"key": "unit", "type": "str"},
|
|
19434
|
+
"status": {"key": "status", "type": "str"},
|
|
19435
|
+
"operations": {"key": "operations", "type": "[WorkorderOperationDto]"},
|
|
19436
|
+
"planned_start": {"key": "plannedStart", "type": "iso-8601"},
|
|
19437
|
+
"planned_end": {"key": "plannedEnd", "type": "iso-8601"},
|
|
19438
|
+
"produced_quantity": {"key": "producedQuantity", "type": "float"},
|
|
19439
|
+
"scrapped_quantity": {"key": "scrappedQuantity", "type": "float"},
|
|
19440
|
+
"customer_order_reference": {"key": "customerOrderReference", "type": "WorkorderCustomerOrderReferenceDto"},
|
|
19441
|
+
"planner": {"key": "planner", "type": "UserDto"},
|
|
19442
|
+
"project_leader": {"key": "projectLeader", "type": "UserDto"},
|
|
19443
|
+
"end_location": {"key": "endLocation", "type": "str"},
|
|
19444
|
+
"project": {"key": "project", "type": "WorkOrderProject"},
|
|
19445
|
+
"start_date": {"key": "startDate", "type": "iso-8601"},
|
|
19446
|
+
"end_date": {"key": "endDate", "type": "iso-8601"},
|
|
19447
|
+
"bom_position": {"key": "bomPosition", "type": "str"},
|
|
19448
|
+
"trace_type": {"key": "traceType", "type": "str"},
|
|
19449
|
+
}
|
|
19450
|
+
|
|
19451
|
+
def __init__(
|
|
19452
|
+
self,
|
|
19453
|
+
*,
|
|
19454
|
+
work_order: str,
|
|
19455
|
+
part: "_models.PartDto",
|
|
19456
|
+
quantity: float,
|
|
19457
|
+
status: Union[str, "_models.WorkorderStatus"],
|
|
19458
|
+
operations: List["_models.WorkorderOperationDto"],
|
|
19459
|
+
company_id: Optional[str] = None,
|
|
19460
|
+
unit: Optional[str] = None,
|
|
19461
|
+
planned_start: Optional[datetime.datetime] = None,
|
|
19462
|
+
planned_end: Optional[datetime.datetime] = None,
|
|
19463
|
+
produced_quantity: Optional[float] = None,
|
|
19464
|
+
scrapped_quantity: Optional[float] = None,
|
|
19465
|
+
customer_order_reference: Optional["_models.WorkorderCustomerOrderReferenceDto"] = None,
|
|
19466
|
+
planner: Optional["_models.UserDto"] = None,
|
|
19467
|
+
project_leader: Optional["_models.UserDto"] = None,
|
|
19468
|
+
end_location: Optional[str] = None,
|
|
19469
|
+
project: Optional["_models.WorkOrderProject"] = None,
|
|
19470
|
+
start_date: Optional[datetime.datetime] = None,
|
|
19471
|
+
end_date: Optional[datetime.datetime] = None,
|
|
19472
|
+
bom_position: Optional[str] = None,
|
|
19473
|
+
trace_type: Optional[Union[str, "_models.TraceType"]] = None,
|
|
19474
|
+
**kwargs: Any
|
|
19475
|
+
) -> None:
|
|
19476
|
+
"""
|
|
19477
|
+
:keyword work_order: Required.
|
|
19478
|
+
:paramtype work_order: str
|
|
19479
|
+
:keyword company_id:
|
|
19480
|
+
:paramtype company_id: str
|
|
19481
|
+
:keyword part: Required.
|
|
19482
|
+
:paramtype part: ~ignos.api.client.models.PartDto
|
|
19483
|
+
:keyword quantity: Required.
|
|
19484
|
+
:paramtype quantity: float
|
|
19485
|
+
:keyword unit:
|
|
19486
|
+
:paramtype unit: str
|
|
19487
|
+
:keyword status: Required. Known values are: "Draft", "Ready", "Ongoing", "Completed", and
|
|
19488
|
+
"Deleted".
|
|
19489
|
+
:paramtype status: str or ~ignos.api.client.models.WorkorderStatus
|
|
19490
|
+
:keyword operations: Required.
|
|
19491
|
+
:paramtype operations: list[~ignos.api.client.models.WorkorderOperationDto]
|
|
19492
|
+
:keyword planned_start:
|
|
19493
|
+
:paramtype planned_start: ~datetime.datetime
|
|
19494
|
+
:keyword planned_end:
|
|
19495
|
+
:paramtype planned_end: ~datetime.datetime
|
|
19496
|
+
:keyword produced_quantity:
|
|
19497
|
+
:paramtype produced_quantity: float
|
|
19498
|
+
:keyword scrapped_quantity:
|
|
19499
|
+
:paramtype scrapped_quantity: float
|
|
19500
|
+
:keyword customer_order_reference:
|
|
19501
|
+
:paramtype customer_order_reference:
|
|
19502
|
+
~ignos.api.client.models.WorkorderCustomerOrderReferenceDto
|
|
19503
|
+
:keyword planner:
|
|
19504
|
+
:paramtype planner: ~ignos.api.client.models.UserDto
|
|
19505
|
+
:keyword project_leader:
|
|
19506
|
+
:paramtype project_leader: ~ignos.api.client.models.UserDto
|
|
19507
|
+
:keyword end_location:
|
|
19508
|
+
:paramtype end_location: str
|
|
19509
|
+
:keyword project:
|
|
19510
|
+
:paramtype project: ~ignos.api.client.models.WorkOrderProject
|
|
19511
|
+
:keyword start_date:
|
|
19512
|
+
:paramtype start_date: ~datetime.datetime
|
|
19513
|
+
:keyword end_date:
|
|
19514
|
+
:paramtype end_date: ~datetime.datetime
|
|
19515
|
+
:keyword bom_position:
|
|
19516
|
+
:paramtype bom_position: str
|
|
19517
|
+
:keyword trace_type: Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
19518
|
+
:paramtype trace_type: str or ~ignos.api.client.models.TraceType
|
|
19519
|
+
"""
|
|
19520
|
+
super().__init__(**kwargs)
|
|
19521
|
+
self.work_order = work_order
|
|
19522
|
+
self.company_id = company_id
|
|
19523
|
+
self.part = part
|
|
19524
|
+
self.quantity = quantity
|
|
19525
|
+
self.unit = unit
|
|
19526
|
+
self.status = status
|
|
19527
|
+
self.operations = operations
|
|
19528
|
+
self.planned_start = planned_start
|
|
19529
|
+
self.planned_end = planned_end
|
|
19530
|
+
self.produced_quantity = produced_quantity
|
|
19531
|
+
self.scrapped_quantity = scrapped_quantity
|
|
19532
|
+
self.customer_order_reference = customer_order_reference
|
|
19533
|
+
self.planner = planner
|
|
19534
|
+
self.project_leader = project_leader
|
|
19535
|
+
self.end_location = end_location
|
|
19536
|
+
self.project = project
|
|
19537
|
+
self.start_date = start_date
|
|
19538
|
+
self.end_date = end_date
|
|
19539
|
+
self.bom_position = bom_position
|
|
19540
|
+
self.trace_type = trace_type
|
|
19541
|
+
|
|
19542
|
+
|
|
17650
19543
|
class UptimeDowntimeDto(_serialization.Model):
|
|
17651
19544
|
"""UptimeDowntimeDto.
|
|
17652
19545
|
|
|
@@ -18734,6 +20627,8 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18734
20627
|
:vartype used_quantity: float
|
|
18735
20628
|
:ivar unit:
|
|
18736
20629
|
:vartype unit: str
|
|
20630
|
+
:ivar trace_type: Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
20631
|
+
:vartype trace_type: str or ~ignos.api.client.models.TraceType
|
|
18737
20632
|
"""
|
|
18738
20633
|
|
|
18739
20634
|
_validation = {
|
|
@@ -18751,6 +20646,7 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18751
20646
|
"fixed_quantity": {"key": "fixedQuantity", "type": "bool"},
|
|
18752
20647
|
"used_quantity": {"key": "usedQuantity", "type": "float"},
|
|
18753
20648
|
"unit": {"key": "unit", "type": "str"},
|
|
20649
|
+
"trace_type": {"key": "traceType", "type": "str"},
|
|
18754
20650
|
}
|
|
18755
20651
|
|
|
18756
20652
|
def __init__(
|
|
@@ -18763,6 +20659,7 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18763
20659
|
material_line: Optional[int] = None,
|
|
18764
20660
|
used_quantity: Optional[float] = None,
|
|
18765
20661
|
unit: Optional[str] = None,
|
|
20662
|
+
trace_type: Optional[Union[str, "_models.TraceType"]] = None,
|
|
18766
20663
|
**kwargs: Any
|
|
18767
20664
|
) -> None:
|
|
18768
20665
|
"""
|
|
@@ -18781,6 +20678,8 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18781
20678
|
:paramtype used_quantity: float
|
|
18782
20679
|
:keyword unit:
|
|
18783
20680
|
:paramtype unit: str
|
|
20681
|
+
:keyword trace_type: Known values are: "None", "Lot", "Batch", and "SerialNumber".
|
|
20682
|
+
:paramtype trace_type: str or ~ignos.api.client.models.TraceType
|
|
18784
20683
|
"""
|
|
18785
20684
|
super().__init__(**kwargs)
|
|
18786
20685
|
self.material_line = material_line
|
|
@@ -18790,6 +20689,7 @@ class WorkorderMaterialDto(_serialization.Model):
|
|
|
18790
20689
|
self.fixed_quantity = fixed_quantity
|
|
18791
20690
|
self.used_quantity = used_quantity
|
|
18792
20691
|
self.unit = unit
|
|
20692
|
+
self.trace_type = trace_type
|
|
18793
20693
|
|
|
18794
20694
|
|
|
18795
20695
|
class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-instance-attributes
|
|
@@ -18805,6 +20705,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18805
20705
|
:vartype planned_setup_time: float
|
|
18806
20706
|
:ivar planned_production_time_per_part: Required.
|
|
18807
20707
|
:vartype planned_production_time_per_part: float
|
|
20708
|
+
:ivar planned_production_time: Required.
|
|
20709
|
+
:vartype planned_production_time: float
|
|
18808
20710
|
:ivar fixed_time:
|
|
18809
20711
|
:vartype fixed_time: bool
|
|
18810
20712
|
:ivar resource: Required.
|
|
@@ -18813,7 +20715,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18813
20715
|
:vartype planned_start: ~datetime.datetime
|
|
18814
20716
|
:ivar planned_end:
|
|
18815
20717
|
:vartype planned_end: ~datetime.datetime
|
|
18816
|
-
:ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing",
|
|
20718
|
+
:ivar status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
|
|
20719
|
+
"Stopped".
|
|
18817
20720
|
:vartype status: str or ~ignos.api.client.models.OperationStatus
|
|
18818
20721
|
:ivar produced_quantity: Required.
|
|
18819
20722
|
:vartype produced_quantity: float
|
|
@@ -18831,6 +20734,7 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18831
20734
|
"operation": {"required": True},
|
|
18832
20735
|
"planned_setup_time": {"required": True},
|
|
18833
20736
|
"planned_production_time_per_part": {"required": True},
|
|
20737
|
+
"planned_production_time": {"required": True},
|
|
18834
20738
|
"resource": {"required": True},
|
|
18835
20739
|
"status": {"required": True},
|
|
18836
20740
|
"produced_quantity": {"required": True},
|
|
@@ -18845,6 +20749,7 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18845
20749
|
"description": {"key": "description", "type": "str"},
|
|
18846
20750
|
"planned_setup_time": {"key": "plannedSetupTime", "type": "float"},
|
|
18847
20751
|
"planned_production_time_per_part": {"key": "plannedProductionTimePerPart", "type": "float"},
|
|
20752
|
+
"planned_production_time": {"key": "plannedProductionTime", "type": "float"},
|
|
18848
20753
|
"fixed_time": {"key": "fixedTime", "type": "bool"},
|
|
18849
20754
|
"resource": {"key": "resource", "type": "ResourceDto"},
|
|
18850
20755
|
"planned_start": {"key": "plannedStart", "type": "iso-8601"},
|
|
@@ -18863,6 +20768,7 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18863
20768
|
operation: int,
|
|
18864
20769
|
planned_setup_time: float,
|
|
18865
20770
|
planned_production_time_per_part: float,
|
|
20771
|
+
planned_production_time: float,
|
|
18866
20772
|
resource: "_models.ResourceDto",
|
|
18867
20773
|
status: Union[str, "_models.OperationStatus"],
|
|
18868
20774
|
produced_quantity: float,
|
|
@@ -18885,6 +20791,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18885
20791
|
:paramtype planned_setup_time: float
|
|
18886
20792
|
:keyword planned_production_time_per_part: Required.
|
|
18887
20793
|
:paramtype planned_production_time_per_part: float
|
|
20794
|
+
:keyword planned_production_time: Required.
|
|
20795
|
+
:paramtype planned_production_time: float
|
|
18888
20796
|
:keyword fixed_time:
|
|
18889
20797
|
:paramtype fixed_time: bool
|
|
18890
20798
|
:keyword resource: Required.
|
|
@@ -18893,7 +20801,8 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18893
20801
|
:paramtype planned_start: ~datetime.datetime
|
|
18894
20802
|
:keyword planned_end:
|
|
18895
20803
|
:paramtype planned_end: ~datetime.datetime
|
|
18896
|
-
:keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing",
|
|
20804
|
+
:keyword status: Required. Known values are: "NotReady", "Ready", "Ongoing", "Completed", and
|
|
20805
|
+
"Stopped".
|
|
18897
20806
|
:paramtype status: str or ~ignos.api.client.models.OperationStatus
|
|
18898
20807
|
:keyword produced_quantity: Required.
|
|
18899
20808
|
:paramtype produced_quantity: float
|
|
@@ -18911,6 +20820,7 @@ class WorkorderOperationDto(_serialization.Model): # pylint: disable=too-many-i
|
|
|
18911
20820
|
self.description = description
|
|
18912
20821
|
self.planned_setup_time = planned_setup_time
|
|
18913
20822
|
self.planned_production_time_per_part = planned_production_time_per_part
|
|
20823
|
+
self.planned_production_time = planned_production_time
|
|
18914
20824
|
self.fixed_time = fixed_time
|
|
18915
20825
|
self.resource = resource
|
|
18916
20826
|
self.planned_start = planned_start
|
|
@@ -19043,6 +20953,84 @@ class WorkorderOperationEventDto(_serialization.Model): # pylint: disable=too-m
|
|
|
19043
20953
|
self.operation_description = operation_description
|
|
19044
20954
|
|
|
19045
20955
|
|
|
20956
|
+
class WorkOrderProject(_serialization.Model):
|
|
20957
|
+
"""WorkOrderProject.
|
|
20958
|
+
|
|
20959
|
+
:ivar id:
|
|
20960
|
+
:vartype id: str
|
|
20961
|
+
:ivar name:
|
|
20962
|
+
:vartype name: str
|
|
20963
|
+
:ivar project_manager:
|
|
20964
|
+
:vartype project_manager: str
|
|
20965
|
+
"""
|
|
20966
|
+
|
|
20967
|
+
_attribute_map = {
|
|
20968
|
+
"id": {"key": "id", "type": "str"},
|
|
20969
|
+
"name": {"key": "name", "type": "str"},
|
|
20970
|
+
"project_manager": {"key": "projectManager", "type": "str"},
|
|
20971
|
+
}
|
|
20972
|
+
|
|
20973
|
+
def __init__(
|
|
20974
|
+
self,
|
|
20975
|
+
*,
|
|
20976
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
20977
|
+
name: Optional[str] = None,
|
|
20978
|
+
project_manager: Optional[str] = None,
|
|
20979
|
+
**kwargs: Any
|
|
20980
|
+
) -> None:
|
|
20981
|
+
"""
|
|
20982
|
+
:keyword id:
|
|
20983
|
+
:paramtype id: str
|
|
20984
|
+
:keyword name:
|
|
20985
|
+
:paramtype name: str
|
|
20986
|
+
:keyword project_manager:
|
|
20987
|
+
:paramtype project_manager: str
|
|
20988
|
+
"""
|
|
20989
|
+
super().__init__(**kwargs)
|
|
20990
|
+
self.id = id
|
|
20991
|
+
self.name = name
|
|
20992
|
+
self.project_manager = project_manager
|
|
20993
|
+
|
|
20994
|
+
|
|
20995
|
+
class WorkOrderProjectDto(_serialization.Model):
|
|
20996
|
+
"""WorkOrderProjectDto.
|
|
20997
|
+
|
|
20998
|
+
:ivar id:
|
|
20999
|
+
:vartype id: str
|
|
21000
|
+
:ivar name:
|
|
21001
|
+
:vartype name: str
|
|
21002
|
+
:ivar project_manager:
|
|
21003
|
+
:vartype project_manager: str
|
|
21004
|
+
"""
|
|
21005
|
+
|
|
21006
|
+
_attribute_map = {
|
|
21007
|
+
"id": {"key": "id", "type": "str"},
|
|
21008
|
+
"name": {"key": "name", "type": "str"},
|
|
21009
|
+
"project_manager": {"key": "projectManager", "type": "str"},
|
|
21010
|
+
}
|
|
21011
|
+
|
|
21012
|
+
def __init__(
|
|
21013
|
+
self,
|
|
21014
|
+
*,
|
|
21015
|
+
id: Optional[str] = None, # pylint: disable=redefined-builtin
|
|
21016
|
+
name: Optional[str] = None,
|
|
21017
|
+
project_manager: Optional[str] = None,
|
|
21018
|
+
**kwargs: Any
|
|
21019
|
+
) -> None:
|
|
21020
|
+
"""
|
|
21021
|
+
:keyword id:
|
|
21022
|
+
:paramtype id: str
|
|
21023
|
+
:keyword name:
|
|
21024
|
+
:paramtype name: str
|
|
21025
|
+
:keyword project_manager:
|
|
21026
|
+
:paramtype project_manager: str
|
|
21027
|
+
"""
|
|
21028
|
+
super().__init__(**kwargs)
|
|
21029
|
+
self.id = id
|
|
21030
|
+
self.name = name
|
|
21031
|
+
self.project_manager = project_manager
|
|
21032
|
+
|
|
21033
|
+
|
|
19046
21034
|
class WorkorderTraceItemDto(_serialization.Model):
|
|
19047
21035
|
"""WorkorderTraceItemDto.
|
|
19048
21036
|
|