# 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 SegmentationRowset(Model):
    """Represent a Row set.

    :param rowset_operation: Possible values include: 'union', 'intersect',
     'except', 'none'
    :type rowset_operation: str or
     ~microsoft.dynamics.customerinsights.api.models.enum
    :param criteria:
    :type criteria:
     ~microsoft.dynamics.customerinsights.api.models.SegmentMembershipCriteria
    :param paths: Gets the relationship path to use for segment criteria.
    :type paths: list[list[str]]
    """

    _attribute_map = {
        'rowset_operation': {'key': 'rowsetOperation', 'type': 'str'},
        'criteria': {'key': 'criteria', 'type': 'SegmentMembershipCriteria'},
        'paths': {'key': 'paths', 'type': '[[str]]'},
    }

    def __init__(self, *, rowset_operation=None, criteria=None, paths=None, **kwargs) -> None:
        super(SegmentationRowset, self).__init__(**kwargs)
        self.rowset_operation = rowset_operation
        self.criteria = criteria
        self.paths = paths
