Source code for azure.cognitiveservices.vision.customvision.training.models.project_settings_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class ProjectSettings(Model): """Represents settings associated with a project. :param domain_id: Gets or sets the id of the Domain to use with this project :type domain_id: str :param classification_type: Gets or sets the classification type of the project. Possible values include: 'Multiclass', 'Multilabel' :type classification_type: str or ~azure.cognitiveservices.vision.customvision.training.models.Classifier """ _attribute_map = { 'domain_id': {'key': 'domainId', 'type': 'str'}, 'classification_type': {'key': 'classificationType', 'type': 'str'}, } def __init__(self, *, domain_id: str=None, classification_type=None, **kwargs) -> None: super(ProjectSettings, self).__init__(**kwargs) self.domain_id = domain_id self.classification_type = classification_type