1# -------------------------------------------------------------------------------------------- 2# Copyright (c) Microsoft Corporation. All rights reserved. 3# Licensed under the MIT License. See License.txt in the project root for license information. 4# -------------------------------------------------------------------------------------------- 5# Generated file, DO NOT EDIT 6# Changes may cause incorrect behavior and will be lost if the code is regenerated. 7# -------------------------------------------------------------------------------------------- 8 9from .process_reference import ProcessReference 10 11 12class Process(ProcessReference): 13 """Process. 14 15 :param name: 16 :type name: str 17 :param url: 18 :type url: str 19 :param _links: 20 :type _links: :class:`ReferenceLinks <core.v4_0.models.ReferenceLinks>` 21 :param description: 22 :type description: str 23 :param id: 24 :type id: str 25 :param is_default: 26 :type is_default: bool 27 :param type: 28 :type type: object 29 """ 30 31 _attribute_map = { 32 'name': {'key': 'name', 'type': 'str'}, 33 'url': {'key': 'url', 'type': 'str'}, 34 '_links': {'key': '_links', 'type': 'ReferenceLinks'}, 35 'description': {'key': 'description', 'type': 'str'}, 36 'id': {'key': 'id', 'type': 'str'}, 37 'is_default': {'key': 'isDefault', 'type': 'bool'}, 38 'type': {'key': 'type', 'type': 'object'} 39 } 40 41 def __init__(self, name=None, url=None, _links=None, description=None, id=None, is_default=None, type=None): 42 super(Process, self).__init__(name=name, url=url) 43 self._links = _links 44 self.description = description 45 self.id = id 46 self.is_default = is_default 47 self.type = type 48