# 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 AdiEmsWebApiV2DtoSchemaUpdateResult(Model):
    """Represents the result of an update.

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

    :param rows_updated: Required. The number of rows affected by the update.
    :type rows_updated: int
    """

    _validation = {
        'rows_updated': {'required': True},
    }

    _attribute_map = {
        'rows_updated': {'key': 'rowsUpdated', 'type': 'int'},
    }

    def __init__(self, *, rows_updated: int, **kwargs) -> None:
        super(AdiEmsWebApiV2DtoSchemaUpdateResult, self).__init__(**kwargs)
        self.rows_updated = rows_updated
