Source code for azure.mgmt.advisor.models.short_description_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 ShortDescription(Model): """A summary of the recommendation. :param problem: The issue or opportunity identified by the recommendation. :type problem: str :param solution: The remediation action suggested by the recommendation. :type solution: str """ _attribute_map = { 'problem': {'key': 'problem', 'type': 'str'}, 'solution': {'key': 'solution', 'type': 'str'}, } def __init__(self, *, problem: str=None, solution: str=None, **kwargs) -> None: super(ShortDescription, self).__init__(**kwargs) self.problem = problem self.solution = solution