# 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


class Rendering(Model):
    """Instructions for rendering the data.

    :param type: Rendering Type. Possible values include: 'NoGraph', 'Table',
     'TimeSeries', 'TimeSeriesPerInstance'
    :type type: str or ~azure.mgmt.web.models.RenderingType
    :param title: Title of data
    :type title: str
    :param description: Description of the data that will help it be
     interpreted
    :type description: str
    """

    _attribute_map = {
        'type': {'key': 'type', 'type': 'RenderingType'},
        'title': {'key': 'title', 'type': 'str'},
        'description': {'key': 'description', 'type': 'str'},
    }

    def __init__(self, **kwargs):
        super(Rendering, self).__init__(**kwargs)
        self.type = kwargs.get('type', None)
        self.title = kwargs.get('title', None)
        self.description = kwargs.get('description', None)
