# 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 SettingsSectionDescription(Model):
    """ServiceFabric section settings.

    :param name: The name of settings section
    :type name: str
    :param parameters: Collection of settings in the section, each setting is
     a tuple consisting of setting name and value
    :type parameters: list of :class:`SettingsParameterDescription
     <azure.mgmt.servicefabric.models.SettingsParameterDescription>`
    """

    _validation = {
        'name': {'required': True},
        'parameters': {'required': True},
    }

    _attribute_map = {
        'name': {'key': 'name', 'type': 'str'},
        'parameters': {'key': 'parameters', 'type': '[SettingsParameterDescription]'},
    }

    def __init__(self, name, parameters):
        self.name = name
        self.parameters = parameters
