# 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 SubGraphParameterAssignment(Model):
    """SubGraphParameterAssignment.

    :param parameter:
    :type parameter: ~designer.models.Parameter
    :param parameter_assignments:
    :type parameter_assignments:
     list[~designer.models.SubPipelineParameterAssignment]
    """

    _attribute_map = {
        'parameter': {'key': 'parameter', 'type': 'Parameter'},
        'parameter_assignments': {'key': 'parameterAssignments', 'type': '[SubPipelineParameterAssignment]'},
    }

    def __init__(self, *, parameter=None, parameter_assignments=None, **kwargs) -> None:
        super(SubGraphParameterAssignment, self).__init__(**kwargs)
        self.parameter = parameter
        self.parameter_assignments = parameter_assignments
