# coding=utf-8
# --------------------------------------------------------------------------
# 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 MarkerChild(Model):
    """MarkerChild.

    All required parameters must be populated in order to send to Azure.

    :param name:
    :type name: str
    :param show_harmonics: Required.
    :type show_harmonics: bool
    :param show_side_bands: Required.
    :type show_side_bands: bool
    :param show_peaks: Required.
    :type show_peaks: bool
    """

    _validation = {
        'name': {'max_length': 5},
        'show_harmonics': {'required': True},
        'show_side_bands': {'required': True},
        'show_peaks': {'required': True},
    }

    _attribute_map = {
        'name': {'key': 'Name', 'type': 'str'},
        'show_harmonics': {'key': 'ShowHarmonics', 'type': 'bool'},
        'show_side_bands': {'key': 'ShowSideBands', 'type': 'bool'},
        'show_peaks': {'key': 'ShowPeaks', 'type': 'bool'},
    }

    def __init__(self, **kwargs):
        super(MarkerChild, self).__init__(**kwargs)
        self.name = kwargs.get('name', None)
        self.show_harmonics = kwargs.get('show_harmonics', None)
        self.show_side_bands = kwargs.get('show_side_bands', None)
        self.show_peaks = kwargs.get('show_peaks', None)
